From 93a341bbaa350e28e976bf455e0bc5eeb788b58c Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Wed, 5 Oct 2022 14:59:00 +0300 Subject: [PATCH] Fix arguments order --- src/interpreter_extra.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpreter_extra.cc b/src/interpreter_extra.cc index adcadc3..f948426 100644 --- a/src/interpreter_extra.cc +++ b/src/interpreter_extra.cc @@ -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; } }