Skip to content

Commit

Permalink
Merge pull request #838 from noudess/roamboxfix
Browse files Browse the repository at this point in the history
Fix SetCurrentWP to allow negatives
  • Loading branch information
KimLS authored Apr 11, 2019
2 parents fa20522 + 5e008a5 commit 8f9a859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zone/mob.h
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ class Mob : public Entity {
inline glm::vec4 GetCurrentWayPoint() const { return m_CurrentWayPoint; }
inline float GetCWPP() const { return(static_cast<float>(cur_wp_pause)); }
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 const bool IsUnderwaterOnly() const { return false; }
Expand Down

0 comments on commit 8f9a859

Please sign in to comment.