(svn r8864) -Codechange: make ClrBitT(), SetBitT() and ToggleBitT more like CLRBIT() and so on (modify value of the first parameter instead or returning the result)
This commit is contained in:
@@ -730,7 +730,7 @@ static int GrowTownAtRoad(Town *t, TileIndex tile)
|
||||
|
||||
// Exclude the source position from the bitmask
|
||||
// and return if no more road blocks available
|
||||
mask = ClrBitT(mask, (block ^ 2));
|
||||
ClrBitT(mask, (block ^ 2));
|
||||
if (mask == 0)
|
||||
return _grow_town_result;
|
||||
|
||||
|
Reference in New Issue
Block a user