aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-24 10:58:07 -0600
committermegamage <none@none>2008-12-24 10:58:07 -0600
commit5b2636c35474cd366348eae5dcfe3f333931d02e (patch)
treed2cae0b666a3385b337c587f72c70ff5e42c291e /src/game/Creature.cpp
parent253f4bf374ccaa83d20a7ff58e31b37300f4a26e (diff)
parent12a52d2fbb3aef60f7eff73d1a10e0dbe9de5edf (diff)
*Merge.
--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);
}
/**