From a2a2da13427c2ef94f7c730ff64f5c547e01aa3d Mon Sep 17 00:00:00 2001 From: click Date: Sun, 11 Apr 2010 16:22:25 +0200 Subject: * Force .npc move to move the creature and make sure it respawns from deadstate (Removes .die/.respawn -requirement on move) Patch by antihrists Fixes issue #121 --HG-- branch : trunk --- src/game/Level2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp index 3ca0787c666..a17c8b7fb0c 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -1160,7 +1160,7 @@ bool ChatHandler::HandleNpcAddMoveCommand(const char* args) if (pCreature->isAlive()) // dead creature will reset movement generator at respawn { pCreature->setDeathState(JUST_DIED); - pCreature->Respawn(); + pCreature->Respawn(true); } pCreature->SaveToDB(); } -- cgit v1.2.3