~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to src/logic/map_objects/tribes/dismantlesite.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:
192
192
Called by our builder to get instructions.
193
193
===============
194
194
*/
195
 
bool DismantleSite::get_building_work(Game& game, Worker& worker, bool) {
 
195
bool DismantleSite::get_building_work(Game& game, Worker& worker, bool /*success*/) {
196
196
        if (&worker != builder_.get(game)) {
197
197
                // Not our construction worker; e.g. a miner leaving a mine
198
198
                // that is supposed to be enhanced. Make him return to a warehouse