summaryrefslogtreecommitdiff
path: root/src/openttd.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-17 14:06:28 +0000
committerrubidium <rubidium@openttd.org>2009-11-17 14:06:28 +0000
commit36a20894aa5a5311fff74d1167d83a584c56ab62 (patch)
treec322a85e0c7ad97ce6f51460fd3e603be8f33cac /src/openttd.h
parentadadabed04ddfaea1d601f8e501d092b9fab891f (diff)
downloadopenttd-36a20894aa5a5311fff74d1167d83a584c56ab62.tar.xz
(svn r18141) -Fix (r18051): one couldn't (easily) continue a game in single player that was 'not enough players'/'waiting on join'-paused
Diffstat (limited to 'src/openttd.h')
-rw-r--r--src/openttd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openttd.h b/src/openttd.h
index 7dc3f5579..35de45032 100644
--- a/src/openttd.h
+++ b/src/openttd.h
@@ -57,6 +57,9 @@ enum PauseMode {
PM_PAUSED_JOIN = 1 << 2, ///< A game paused for 'pause_on_join'
PM_PAUSED_ERROR = 1 << 3, ///< A game paused because a (critical) error
PM_PAUSED_ACTIVE_CLIENTS = 1 << 4, ///< A game paused for 'min_active_clients'
+
+ /* Pause mode bits when paused for network reasons */
+ PMB_PAUSED_NETWORK = PM_PAUSED_ACTIVE_CLIENTS | PM_PAUSED_JOIN,
};
DECLARE_ENUM_AS_BIT_SET(PauseMode);
typedef SimpleTinyEnumT<PauseMode, byte> PauseModeByte;