summaryrefslogtreecommitdiff
path: root/src/misc_cmd.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-12-12 21:56:10 +0000
committerskidd13 <skidd13@openttd.org>2007-12-12 21:56:10 +0000
commit1d9c27e235f08829d3f7aed2602225a291b05d8a (patch)
treea283d707f87e6c4c59af67c90bff1b57172d3096 /src/misc_cmd.cpp
parent5acc147c1cc5322ad1f307f4e1143a17cb8f77b3 (diff)
downloadopenttd-1d9c27e235f08829d3f7aed2602225a291b05d8a.tar.xz
(svn r11626) -Fix [FS#1529]: Pause state wasn't set correctly in multiplayer saves
Diffstat (limited to 'src/misc_cmd.cpp')
-rw-r--r--src/misc_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_cmd.cpp b/src/misc_cmd.cpp
index c30d62d61..cd42c5907 100644
--- a/src/misc_cmd.cpp
+++ b/src/misc_cmd.cpp
@@ -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: