From 08fa019253895c97515a6324a19b9183d5a39ce5 Mon Sep 17 00:00:00 2001 From: TrullyONE Date: Wed, 24 Dec 2008 12:06:25 +0200 Subject: *Additional movement checks added. --HG-- branch : trunk --- src/game/Creature.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game/Creature.cpp') diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index c0065212207..c57b8a27fb9 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -219,7 +219,8 @@ void Creature::RemoveCorpse() float x,y,z,o; GetRespawnCoord(x, y, z, &o); - GetMap()->CreatureRelocation(this,x,y,z,o); + SetHomePosition(x,y,z,o); + GetMap()->CreatureRelocation(this,x,y,z,o); } /** -- cgit v1.2.3