Merge branch 'master' into jgrpp-beta
# Conflicts: # src/company_cmd.cpp # src/economy.cpp # src/lang/swedish.txt # src/network/network_command.cpp # src/news_gui.cpp # src/saveload/saveload.h # src/script/api/script_list.cpp # src/video/cocoa/cocoa_v.mm # src/video/sdl2_v.cpp
This commit is contained in:
@@ -248,9 +248,7 @@ static inline bool CheckAddToTodoSet(TileIndex t1, DiagDirection d1, TileIndex t
|
||||
|
||||
assert(!_tbdset.IsIn(t1, d1)); // it really shouldn't be there already
|
||||
|
||||
if (_tbdset.Remove(t2, d2)) return false;
|
||||
|
||||
return true;
|
||||
return !_tbdset.Remove(t2, d2);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user