fix(Core): a typo introduced in the Rest & Inn Improvements (#3985)
This commit is contained in:
parent
30275b0810
commit
282966c117
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue