mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[7337] Make some methods const.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
8f995ce904
commit
1fcaf35e29
2 changed files with 3 additions and 3 deletions
|
|
@ -216,8 +216,8 @@ class MANGOS_DLL_SPEC Map : public GridRefManager<NGridType>, public MaNGOS::Obj
|
||||||
// assert print helper
|
// assert print helper
|
||||||
bool CheckGridIntegrity(Creature* c, bool moved) const;
|
bool CheckGridIntegrity(Creature* c, bool moved) const;
|
||||||
|
|
||||||
uint32 GetInstanceId() { return i_InstanceId; }
|
uint32 GetInstanceId() const { return i_InstanceId; }
|
||||||
uint8 GetSpawnMode() { return (i_spawnMode); }
|
uint8 GetSpawnMode() const { return (i_spawnMode); }
|
||||||
virtual bool CanEnter(Player* /*player*/) { return true; }
|
virtual bool CanEnter(Player* /*player*/) { return true; }
|
||||||
const char* GetMapName() const;
|
const char* GetMapName() const;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7336"
|
#define REVISION_NR "7337"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue