*Make position as a class;

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-08-29 14:58:45 -05:00
1 parent 3aabef53ee
commit 2a4c9bcaf9
26 files changed
+243 -308

No files matched your search

+3 -6
View File
@@ -4138,14 +4138,11 @@ bool ChatHandler::HandleTempAddSpwCommand(const char* args)
Player *chr = m_session->GetPlayer();
float x = chr->GetPositionX();
float y = chr->GetPositionY();
float z = chr->GetPositionZ();
float ang = chr->GetOrientation();
uint32 id = atoi(charID);
if(!id)
return false;
chr->SummonCreature(id,x,y,z,ang,0,TEMPSUMMON_CORPSE_DESPAWN,120);
chr->SummonCreature(id, *chr, TEMPSUMMON_CORPSE_DESPAWN, 120);
return true;
}