mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
Fix Eluna crash.
This commit is contained in:
parent
c8494504cd
commit
9f04a3b38f
2 changed files with 5 additions and 2 deletions
|
|
@ -646,7 +646,7 @@ class WorldObject : public Object
|
|||
void SetMap(Map* map);
|
||||
Map* GetMap() const { MANGOS_ASSERT(m_currMap); return m_currMap; }
|
||||
// used to check all object's GetMap() calls when object is not in world!
|
||||
void ResetMap() { m_currMap = NULL; }
|
||||
void ResetMap();
|
||||
|
||||
// obtain terrain data for map where this object belong...
|
||||
TerrainInfo const* GetTerrain() const;
|
||||
|
|
@ -654,7 +654,7 @@ class WorldObject : public Object
|
|||
void AddToClientUpdateList() override;
|
||||
void RemoveFromClientUpdateList() override;
|
||||
void BuildUpdateData(UpdateDataMapType&) override;
|
||||
|
||||
|
||||
Creature* SummonCreature(uint32 id, float x, float y, float z, float ang, TempSummonType spwtype, uint32 despwtime, bool asActiveObject = false, bool setRun = false);
|
||||
GameObject* SummonGameObject(uint32 id, float x, float y, float z, float angle, uint32 despwtime);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue