mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +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
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user