aboutsummaryrefslogtreecommitdiff
path: root/src/game/ZoneScript.h
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-19 09:26:37 +0200
committerSpp <none@none>2010-04-19 09:26:37 +0200
commit74dd02d024007c3a09219177fabfe9010b1bce63 (patch)
tree041286f1a0a20c9714199b03c60808d3b7291e48 /src/game/ZoneScript.h
parentfdd8d2f3cc7108043f6bad036b994770f904866f (diff)
Remove LOTS of compile warnings
--HG-- branch : trunk
Diffstat (limited to 'src/game/ZoneScript.h')
-rw-r--r--src/game/ZoneScript.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/ZoneScript.h b/src/game/ZoneScript.h
index 148ca994af0..ab74c8aa5d4 100644
--- a/src/game/ZoneScript.h
+++ b/src/game/ZoneScript.h
@@ -31,11 +31,11 @@ class ZoneScript
public:
explicit ZoneScript() {}
- virtual uint32 GetCreatureEntry(uint32 guidlow, const CreatureData *data) { return data->id; }
- virtual uint32 GetGameObjectEntry(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) {}
- virtual void OnGameObjectCreate(GameObject *go, bool add) {}
+ virtual void OnCreatureCreate(Creature *, bool /*add*/) {}
+ virtual void OnGameObjectCreate(GameObject * /*go*/, bool /*add*/) {}
//All-purpose data storage 64 bit
virtual uint64 GetData64(uint32 /*DataId*/) { return 0; }
@@ -45,7 +45,7 @@ class ZoneScript
virtual uint32 GetData(uint32 /*DataId*/) { return 0; }
virtual void SetData(uint32 /*DataId*/, uint32 /*Value*/) {}
- virtual void ProcessEvent(GameObject *obj, uint32 eventId) {}
+ virtual void ProcessEvent(GameObject * /*obj*/, uint32 /*eventId*/) {}
};
#endif \ No newline at end of file