1
0
Fork 0

Preparing 1.8 update

Added Spectator gamemode
This commit is contained in:
nesco 2014-09-16 20:05:55 +02:00
parent 120b23d65e
commit f246faec16
1 changed files with 3 additions and 0 deletions

View File

@ -188,6 +188,9 @@ public:
/** Returns true if the world is in Adventure mode */
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 IsPVPEnabled(void) const { return m_bEnabledPVP; }
bool IsDeepSnowEnabled(void) const { return m_IsDeepSnowEnabled; }