diff options
Diffstat (limited to 'src/core/player.h')
-rw-r--r-- | src/core/player.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/player.h b/src/core/player.h index cdcdbd1..7bf533c 100644 --- a/src/core/player.h +++ b/src/core/player.h @@ -56,6 +56,8 @@ public: /// set the zone the player is currently in void set_zone(Zone *zone); + inline bool zonechange() const { return player_zonechange; } + /// player primary color inline math::Color const & color() const { return player_color; } @@ -102,6 +104,9 @@ public: /// dirty state bool player_dirty; + /// player has changed zone + bool player_zonechange; + /// indicates rcon access bool player_rcon; @@ -128,6 +133,8 @@ private: // the zone the player is currently in Zone *player_zone; + + }; } |