diff options
author | megamage <none@none> | 2009-08-29 14:58:45 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-29 14:58:45 -0500 |
commit | 2a4c9bcaf910430cdf3070987ce085da3c2666da (patch) | |
tree | a9498395a05c8306726142a8dea856bb79f173d2 /src/game/Map.h | |
parent | 3aabef53ee48e67596d2920cbbc17b9e2238a2cc (diff) |
*Make position as a class;
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.h')
-rw-r--r-- | src/game/Map.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Map.h b/src/game/Map.h index 2ef300a4af6..c9484e78101 100644 --- a/src/game/Map.h +++ b/src/game/Map.h @@ -50,6 +50,7 @@ class Player; class CreatureGroup; struct ScriptInfo; struct ScriptAction; +struct Position; typedef ACE_RW_Thread_Mutex GridRWLock; @@ -441,7 +442,7 @@ class MANGOS_DLL_SPEC Map : public GridRefManager<NGridType>, public MaNGOS::Obj double rand_chance() { return mtRand.randExc(100.0); } #endif - TempSummon *SummonCreature(uint32 entry, float x, float y, float z, float angle = 0, uint32 vehId = 0, SummonPropertiesEntry const *properties = NULL, uint32 duration = 0, Unit *summoner = NULL); + TempSummon *SummonCreature(uint32 entry, const Position &pos, SummonPropertiesEntry const *properties = NULL, uint32 duration = 0, Unit *summoner = NULL, uint32 vehId = 0); Creature* GetCreature(uint64 guid); GameObject* GetGameObject(uint64 guid); DynamicObject* GetDynamicObject(uint64 guid); |