aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-31 20:45:34 -0500
committermegamage <none@none>2009-05-31 20:45:34 -0500
commit5034078d49f9a29d9a7e7d891b12d1706ddab44a (patch)
tree16071e20ca696933fda363f90bfbe51dc1692d27 /src/game/Object.h
parent65e270ef7b5f99d82dbe0d8d4eaf34a7cdff5198 (diff)
*Lay on hands should have heal amount = caster's max health.
*Let goober call zonescript when an event happens. *Thanks Elron for the last rev (flight bug) --HG-- branch : trunk
Diffstat (limited to 'src/game/Object.h')
-rw-r--r--src/game/Object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Object.h b/src/game/Object.h
index 4970b4bab01..d710e34ef36 100644
--- a/src/game/Object.h
+++ b/src/game/Object.h
@@ -536,6 +536,7 @@ class TRINITY_DLL_SPEC WorldObject : public Object
Map const* GetBaseMap() const;
void SetZoneScript();
+ ZoneScript * GetZoneScript() const { return m_zoneScript; }
TempSummon* SummonCreature(uint32 id, float x, float y, float z, float ang = 0,TempSummonType spwtype = TEMPSUMMON_MANUAL_DESPAWN,uint32 despwtime = 0);
Vehicle* SummonVehicle(uint32 entry, float x, float y, float z, float ang = 0);