SummonBuriedCharacterCorpses converted to xyz_heading

This commit is contained in:
Arthur Ice
2014-12-02 12:04:21 -08:00
parent efc4ba0e27
commit dd5265dc02
4 changed files with 24 additions and 22 deletions
+1 -1
View File
@@ -8522,7 +8522,7 @@ void command_summonburriedplayercorpse(Client *c, const Seperator *sep)
return;
}
Corpse* PlayerCorpse = database.SummonBuriedCharacterCorpses(t->CharacterID(), t->GetZoneID(), zone->GetInstanceID(), t->GetX(), t->GetY(), t->GetZ(), t->GetHeading());
Corpse* PlayerCorpse = database.SummonBuriedCharacterCorpses(t->CharacterID(), t->GetZoneID(), zone->GetInstanceID(), t->GetPosition());
if(!PlayerCorpse)
c->Message(0, "Your target doesn't have any burried corpses.");