*Fix the bug that triggers are visible.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-06-03 21:47:38 -05:00
1 parent e858ac91eb
commit 37f4bf6a04
5 files changed
+13 -8

No files matched your search

+2 -1
View File
@@ -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) {}