aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-24 10:33:58 -0600
committermegamage <none@none>2008-12-24 10:33:58 -0600
commitf511dc2c12f37538d057beb2d945a20c76f1a464 (patch)
treec68b2cf57742762a8be72e531defd92aac91b9d5 /src/game/Creature.cpp
parent3cb4e7c716b11f357b3265257c51e7b6cc5c36f9 (diff)
parent12a52d2fbb3aef60f7eff73d1a10e0dbe9de5edf (diff)
*Mangos 6940 + Trinity 615.
--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 5a3e9512bd0..e4d4eec9ef5 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -220,7 +220,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);
}
/**