diff options
author | nesco <emmanuel@federbusch.fr> | 2014-09-17 17:32:37 +0200 |
---|---|---|
committer | nesco <emmanuel@federbusch.fr> | 2014-09-17 17:32:37 +0200 |
commit | b70e09bc90ce28d9397de75ea80bdb669dfbf4ef (patch) | |
tree | 4b88540e2992a10f9a79ded805ee6f4851d952a9 /src/World.h | |
parent | Preparing 1.8 update (diff) | |
download | cuberite-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.h | 2 |
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; } |