~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to src/logic/map_objects/tribes/ferry.cc

  • Committer: The Widelands Bunnybot
  • Date: 2022-02-27 18:58:23 UTC
  • Revision ID: bunnybot@widelands.org-20220227185823-tyvkc7z2dho9it5a
Fix misc clang-tidy checks in `logic` (#5255)

(by Noordfrees)
f48cadd044004aa7eb32d222927ec9b0ab744457

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 
69
69
constexpr Duration kUnemployedLifetime(1000 * 60 * 10);  // 10 minutes
70
70
 
71
 
void Ferry::unemployed_update(Game& game, State&) {
 
71
void Ferry::unemployed_update(Game& game, State& /* state */) {
72
72
        if (!get_signal().empty()) {
73
73
                molog(
74
74
                   game.get_gametime(), "[unemployed]: interrupted by signal '%s'\n", get_signal().c_str());
178
178
        send_signal(game, "row");
179
179
}
180
180
 
181
 
void Ferry::row_update(Game& game, State&) {
 
181
void Ferry::row_update(Game& game, State& /* state */) {
182
182
        if (!destination_) {
183
183
                return pop_task(game);
184
184
        }