1
0
Fork 0

Preparing 1.8 changes

Added Spectator Gamemode
This commit is contained in:
nesco 2014-09-16 20:02:27 +02:00
parent be7483f26b
commit 8dedbe4db5
1 changed files with 3 additions and 0 deletions

View File

@ -171,6 +171,9 @@ public:
/** Returns true if the player is in Adventure mode, either explicitly, or by inheriting from current world */
bool IsGameModeAdventure(void) const;
/** Returns true if the player is in Spectator mode, either explicitly, or by inheriting from current world */
bool IsGameModeSpectator(void) const;
AString GetIP(void) const { return m_IP; } // tolua_export
/** Returns the associated team, NULL if none */