aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-24 11:20:23 -0600
committermegamage <none@none>2008-12-24 11:20:23 -0600
commit24a5af843f55a5632ecafef6b4fafc114b60b3a7 (patch)
tree0ab55bb888b09f2393b948b18a15987d0800b836 /src/game/Creature.cpp
parent184b82abccfff95b18bed81ded1b5a7e98d2dbd3 (diff)
parent4a917033c5da12c838d47bff6798434a1698655a (diff)
*Backout the patch committed by mistake.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp3
1 files changed, 2 insertions, 1 deletions
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);
}
/**