From 0271bf5cef43b78dc984c0a2391cdac427eea0b0 Mon Sep 17 00:00:00 2001 From: ApoC Date: Wed, 25 Feb 2009 22:32:39 +0100 Subject: [PATCH] [7337] Make some methods const. Signed-off-by: ApoC --- src/game/Map.h | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/Map.h b/src/game/Map.h index a5900f7d7..3a9356f88 100644 --- a/src/game/Map.h +++ b/src/game/Map.h @@ -216,8 +216,8 @@ class MANGOS_DLL_SPEC Map : public GridRefManager, public MaNGOS::Obj // 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; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 324103418..eb685b899 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7336" + #define REVISION_NR "7337" #endif // __REVISION_NR_H__ -- 2.11.4.GIT