1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-01 02:49:10 +00:00

(svn r11626) -Fix [FS#1529]: Pause state wasn't set correctly in multiplayer saves

This commit is contained in:
skidd13
2007-12-12 21:56:10 +00:00
parent 5acc147c1c
commit 1d9c27e235
3 changed files with 10 additions and 6 deletions

View File

@@ -317,7 +317,7 @@ static void AskUnsafeUnpauseCallback(Window *w, bool confirmed)
CommandCost CmdPause(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
{
if (flags & DC_EXEC) {
_pause_game += (p1 == 1) ? 1 : -1;
_pause_game += (p1 == 0) ? -1 : 1;
switch (_pause_game) {
case (byte)-4: