mirror of https://github.com/OpenTTD/OpenTTD
(svn r11913) -Fix (r11871): update signals after company bankrupt and disaster too
parent
307b0e8e7a
commit
0b3db1a92d
|
@ -72,6 +72,9 @@ static void DisasterClearSquare(TileIndex tile)
|
||||||
_current_player = OWNER_WATER;
|
_current_player = OWNER_WATER;
|
||||||
DoCommand(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR);
|
DoCommand(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR);
|
||||||
_current_player = p;
|
_current_player = p;
|
||||||
|
|
||||||
|
/* update signals in buffer */
|
||||||
|
UpdateSignalsInBuffer();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -449,10 +449,10 @@ void ChangeOwnershipOfPlayerItems(PlayerID old_player, PlayerID new_player)
|
||||||
UpdateLevelCrossing(tile);
|
UpdateLevelCrossing(tile);
|
||||||
}
|
}
|
||||||
} while (++tile != MapSize());
|
} while (++tile != MapSize());
|
||||||
|
|
||||||
/* update signals in buffer */
|
|
||||||
UpdateSignalsInBuffer();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* update signals in buffer */
|
||||||
|
UpdateSignalsInBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Change color of existing windows */
|
/* Change color of existing windows */
|
||||||
|
|
Loading…
Reference in New Issue