(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
This commit is contained in:
@@ -273,7 +273,7 @@ static CommandCost ClearTile_Unmovable(TileIndex tile, DoCommandFlag flags)
|
||||
}
|
||||
|
||||
/* checks if you're allowed to remove unmovable things */
|
||||
if (_game_mode != GM_EDITOR && _current_company != OWNER_WATER && ((flags & DC_AUTO || !_cheats.magic_bulldozer.value)) )
|
||||
if (_game_mode != GM_EDITOR && _current_company != OWNER_WATER && ((flags & DC_AUTO) || !_cheats.magic_bulldozer.value) )
|
||||
return_cmd_error(flags & DC_AUTO ? STR_ERROR_OBJECT_IN_THE_WAY : INVALID_STRING_ID);
|
||||
|
||||
if (IsStatue(tile)) {
|
||||
|
Reference in New Issue
Block a user