Fix arguments order

This commit is contained in:
Alexander Batalov 2022-10-05 14:59:00 +03:00
parent d2c4538656
commit 93a341bbaa
1 changed files with 1 additions and 1 deletions

View File

@ -2624,7 +2624,7 @@ static void opObjectCanHearObject(Program* program)
if (object2 != nullptr && object1 != nullptr) {
if (object2->elevation == object1->elevation) {
if (object2->tile != -1 && object1->tile != -1) {
if (isWithinPerception(object2, object1)) {
if (isWithinPerception(object1, object2)) {
canHear = true;
}
}