aboutsummaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-27 12:15:06 -0600
committermegamage <none@none>2009-02-27 12:15:06 -0600
commit00b7908c51d400a49aa64d99abe776eca01c42dc (patch)
treeff4079bc13ebd2aed489da97b2e4d1047c29b972 /src/game
parent472f897b0a1475991f70fdc428387ce3d322d5ce (diff)
[7337] Make some methods const. Author: ApoC
--HG-- branch : trunk
Diffstat (limited to 'src/game')
-rw-r--r--src/game/Map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Map.h b/src/game/Map.h
index 731b5a76fcc..527bd50ed70 100644
--- a/src/game/Map.h
+++ b/src/game/Map.h
@@ -219,8 +219,8 @@ class TRINITY_DLL_SPEC Map : public GridRefManager<NGridType>, public Trinity::O
// assert print helper
bool CheckGridIntegrity(Creature* c, bool moved) const;
- uint32 GetInstanceId() { return i_InstanceId; }
- uint8 GetSpawnMode() { return (i_spawnMode); }
+ uint32 GetInstanceId() const { return i_InstanceId; }
+ uint8 GetSpawnMode() const { return (i_spawnMode); }
virtual bool CanEnter(Player* /*player*/) { return true; }
const char* GetMapName() const;