summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornesco <emmanuel@federbusch.fr>2014-09-17 17:32:37 +0200
committernesco <emmanuel@federbusch.fr>2014-09-17 17:32:37 +0200
commitb70e09bc90ce28d9397de75ea80bdb669dfbf4ef (patch)
tree4b88540e2992a10f9a79ded805ee6f4851d952a9
parentPreparing 1.8 update (diff)
downloadcuberite-b70e09bc90ce28d9397de75ea80bdb669dfbf4ef.tar
cuberite-b70e09bc90ce28d9397de75ea80bdb669dfbf4ef.tar.gz
cuberite-b70e09bc90ce28d9397de75ea80bdb669dfbf4ef.tar.bz2
cuberite-b70e09bc90ce28d9397de75ea80bdb669dfbf4ef.tar.lz
cuberite-b70e09bc90ce28d9397de75ea80bdb669dfbf4ef.tar.xz
cuberite-b70e09bc90ce28d9397de75ea80bdb669dfbf4ef.tar.zst
cuberite-b70e09bc90ce28d9397de75ea80bdb669dfbf4ef.zip
Diffstat (limited to '')
-rw-r--r--src/World.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h
index 6f680694f..8b40037af 100644
--- a/src/World.h
+++ b/src/World.h
@@ -189,7 +189,7 @@ public:
bool IsGameModeAdventure(void) const { return (m_GameMode == gmAdventure); }
/** Returns true if the world is in Spectator mode */
- bool IsGameModeAdventure(void) const { return (m_GameMode == gmSpectator); }
+ bool IsGameModeSpectator(void) const { return (m_GameMode == gmSpectator); }
bool IsPVPEnabled(void) const { return m_bEnabledPVP; }
bool IsDeepSnowEnabled(void) const { return m_IsDeepSnowEnabled; }