diff options
author | click <none@none> | 2010-04-18 23:20:07 +0200 |
---|---|---|
committer | click <none@none> | 2010-04-18 23:20:07 +0200 |
commit | fdd8d2f3cc7108043f6bad036b994770f904866f (patch) | |
tree | 7aa8682b7b19a688120158bf4e2bf3232c2e9aa3 /src/game/ObjectMgr.cpp | |
parent | f928c04734041f1078af72fe7abf8b2c2022d6a4 (diff) |
Move around and do some changes to homebinding, thanks to Vladimir
* Adds support for spelltarget-positions
* Uses areaname instead of zonename on hearthstone
Add homebind animation to player, with cast from innkeeper
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r-- | src/game/ObjectMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index d1b2b1c525b..340507045cf 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -2657,7 +2657,7 @@ void ObjectMgr::LoadPlayerInfo() uint32 current_race = fields[0].GetUInt32(); uint32 current_class = fields[1].GetUInt32(); uint32 mapId = fields[2].GetUInt32(); - uint32 zoneId = fields[3].GetUInt32(); + uint32 areaId = fields[3].GetUInt32(); float positionX = fields[4].GetFloat(); float positionY = fields[5].GetFloat(); float positionZ = fields[6].GetFloat(); @@ -2703,7 +2703,7 @@ void ObjectMgr::LoadPlayerInfo() PlayerInfo* pInfo = &playerInfo[current_race][current_class]; pInfo->mapId = mapId; - pInfo->zoneId = zoneId; + pInfo->areaId = areaId; pInfo->positionX = positionX; pInfo->positionY = positionY; pInfo->positionZ = positionZ; |