diff options
author | TrullyONE <none@none> | 2008-12-24 12:06:25 +0200 |
---|---|---|
committer | TrullyONE <none@none> | 2008-12-24 12:06:25 +0200 |
commit | 08fa019253895c97515a6324a19b9183d5a39ce5 (patch) | |
tree | 5a78451495291252236c963366ca71208379cb75 /src/game/Creature.cpp | |
parent | c81299e6536e249ca05eebf100f3f350522da7da (diff) |
*Additional movement checks added.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r-- | src/game/Creature.cpp | 3 |
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); } /** |