delta_x, delta_y, delta_z, and int delta_heading converted to m_Delta

This commit is contained in:
Arthur Ice
2014-11-25 20:43:09 -08:00
parent 53602e3c61
commit 096cbaf1bb
6 changed files with 13 additions and 36 deletions
+2 -5
View File
@@ -421,7 +421,7 @@ public:
//Movement
void Warp( float x, float y, float z );
inline bool IsMoving() const { return moving; }
virtual void SetMoving(bool move) { moving = move; delta_x = 0; delta_y = 0; delta_z = 0; delta_heading = 0; }
virtual void SetMoving(bool move) { moving = move; m_Delta = xyz_heading::Origin(); }
virtual void GoToBind(uint8 bindnum = 0) { }
virtual void Gate();
float GetWalkspeed() const { return(_GetMovementSpeed(-47)); }
@@ -1047,10 +1047,7 @@ protected:
char clean_name[64];
char lastname[64];
int32 delta_heading;
float delta_x;
float delta_y;
float delta_z;
xyz_heading m_Delta;
uint8 light;