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/Player.h | |
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/Player.h')
-rw-r--r-- | src/game/Player.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/Player.h b/src/game/Player.h index 7b47b0d7c0f..27d152fbd95 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -245,7 +245,7 @@ struct PlayerInfo } uint32 mapId; - uint32 zoneId; + uint32 areaId; float positionX; float positionY; float positionZ; @@ -2190,9 +2190,11 @@ class Player : public Unit, public GridObject<Player> float m_recallO; void SaveRecallPosition(); + void SetHomebind(WorldLocation const& loc, uint32 area_id); + // Homebind coordinates uint32 m_homebindMapId; - uint16 m_homebindZoneId; + uint16 m_homebindAreaId; float m_homebindX; float m_homebindY; float m_homebindZ; |