mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Core): a typo introduced in the Rest & Inn Improvements (#3985)
This commit is contained in:
@@ -3048,7 +3048,7 @@ bool Player::IsInAreaTriggerRadius(const AreaTrigger* trigger) const
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
Position center(trigger->x, trigger->y, trigger->z, trigger->orientation);
|
Position center(trigger->x, trigger->y, trigger->z, trigger->orientation);
|
||||||
if (IsWithinBox(center, trigger->length / 2 + delta, trigger->width / 2 + delta, trigger->height / 2 + delta))
|
if (!IsWithinBox(center, trigger->length / 2 + delta, trigger->width / 2 + delta, trigger->height / 2 + delta))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user