Core: Fixed warning C4263: 'bool Creature::SetDisableGravity(bool,bool)' : member function does not override any base class virtual member function
This commit is contained in:
@@ -17565,7 +17565,7 @@ bool Unit::SetWalk(bool enable)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Unit::SetDisableGravity(bool disable)
|
||||
bool Unit::SetDisableGravity(bool disable, bool packetOnly /*= false*/)
|
||||
{
|
||||
if (disable == IsLevitating())
|
||||
return false;
|
||||
|
||||
@@ -1647,7 +1647,7 @@ class Unit : public WorldObject
|
||||
bool IsLevitating() const { return m_movementInfo.HasMovementFlag(MOVEMENTFLAG_DISABLE_GRAVITY);}
|
||||
bool IsWalking() const { return m_movementInfo.HasMovementFlag(MOVEMENTFLAG_WALKING);}
|
||||
virtual bool SetWalk(bool enable);
|
||||
virtual bool SetDisableGravity(bool disable);
|
||||
virtual bool SetDisableGravity(bool disable, bool packetOnly = false);
|
||||
bool SetHover(bool enable);
|
||||
|
||||
void SetInFront(Unit const* target);
|
||||
|
||||
Reference in New Issue
Block a user