Properly rename the stand state method...

This commit is contained in:
Shauren authored and Aokromes committed 2016-05-12 08:27:48 +02:00
1 parent a12493fd84
commit a7f68c489a
9 files changed
+14 -14

No files matched your search

+2 -2
View File
@@ -13142,7 +13142,7 @@ void Unit::StopMoving()
bool Unit::IsSitState() const
{
uint8 s = SetStandState();
uint8 s = GetStandState();
return
s == UNIT_STAND_STATE_SIT_CHAIR || s == UNIT_STAND_STATE_SIT_LOW_CHAIR ||
s == UNIT_STAND_STATE_SIT_MEDIUM_CHAIR || s == UNIT_STAND_STATE_SIT_HIGH_CHAIR ||
@@ -13151,7 +13151,7 @@ bool Unit::IsSitState() const
bool Unit::IsStandState() const
{
uint8 s = SetStandState();
uint8 s = GetStandState();
return !IsSitState() && s != UNIT_STAND_STATE_SLEEP && s != UNIT_STAND_STATE_KNEEL;
}