(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 3b59b68a15
commit 3b849778c1
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: