mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-03 19:52:26 +00:00
Fix SetCurrentWP to allow negatives
Needed to make new roambox constants (that were used instead of 666) actually work.
This commit is contained in:
parent
0852468b88
commit
5e008a5a97
@ -1091,7 +1091,7 @@ public:
|
|||||||
inline glm::vec4 GetCurrentWayPoint() const { return m_CurrentWayPoint; }
|
inline glm::vec4 GetCurrentWayPoint() const { return m_CurrentWayPoint; }
|
||||||
inline float GetCWPP() const { return(static_cast<float>(cur_wp_pause)); }
|
inline float GetCWPP() const { return(static_cast<float>(cur_wp_pause)); }
|
||||||
inline int GetCWP() const { return(cur_wp); }
|
inline int GetCWP() const { return(cur_wp); }
|
||||||
void SetCurrentWP(uint16 waypoint) { cur_wp = waypoint; }
|
void SetCurrentWP(int waypoint) { cur_wp = waypoint; }
|
||||||
virtual FACTION_VALUE GetReverseFactionCon(Mob* iOther) { return FACTION_INDIFFERENT; }
|
virtual FACTION_VALUE GetReverseFactionCon(Mob* iOther) { return FACTION_INDIFFERENT; }
|
||||||
|
|
||||||
virtual const bool IsUnderwaterOnly() const { return false; }
|
virtual const bool IsUnderwaterOnly() const { return false; }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user