diff options
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 69fd4d0f..919b5540 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -391,6 +391,17 @@ class LocalPlayer : public Player */ bool getCheckNameSetting() const { return mUpdateName; } + /** + * Set if the current map is initialized. + */ + void setMapInitialized(bool initialized) + { mMapInitialized = initialized; } + + /** + * Tells if the current map is initialized. + */ + bool isMapInitialized() const { return mMapInitialized; } + /** Keeps the Equipment related values */ const std::auto_ptr<Equipment> mEquipment; @@ -399,6 +410,8 @@ class LocalPlayer : public Player /** Whether or not the name settings have changed */ bool mUpdateName; + bool mMapInitialized; /**< Whether or not the map is available yet */ + virtual void handleStatusEffect(StatusEffect *effect, int effectId); // Colors don't change for local player |