*Fix the bug that triggers are visible.
--HG-- branch : trunk
This commit is contained in:
1 parent
e858ac91eb
commit
37f4bf6a04
5 files changed
+13
-8
No files matched your search
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
struct CreatureData;
|
||||
class Creature;
|
||||
class GameObject;
|
||||
|
||||
@@ -29,7 +30,7 @@ class TRINITY_DLL_SPEC ZoneScript
|
||||
public:
|
||||
explicit ZoneScript() {}
|
||||
|
||||
virtual uint32 GetCreatureEntry(uint32 guidlow, uint32 entry) { return entry; }
|
||||
virtual uint32 GetCreatureEntry(uint32 guidlow, const CreatureData *data) { return data->id; }
|
||||
virtual uint32 GetGameObjectEntry(uint32 guidlow, uint32 entry) { return entry; }
|
||||
|
||||
virtual void OnCreatureCreate(Creature *, bool add) {}
|
||||
|
||||
Reference in new issue
Block a user