From 252107d61aa0c52b8d5df63ae7d486bdbed52c71 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 14 Jul 2019 12:27:03 -0300 Subject: Fix bug on Real Estate System, where RES_UTILITIES and RES_OBJECTS would get mixed up. --- npc/024-14/doorbell.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/024-14') diff --git a/npc/024-14/doorbell.txt b/npc/024-14/doorbell.txt index d40aef1f1..ef0a04246 100644 --- a/npc/024-14/doorbell.txt +++ b/npc/024-14/doorbell.txt @@ -236,7 +236,7 @@ OnReload: for (.@i=0; .@i < getarraysize(.layer); .@i++) { switch (.layer[.@i]) { case 1: - if (ESTATE_MOBILIA_128 & .objid[.@i]) + if (ESTATE_MOBILIA_64 & .objid[.@i]) array_push(.valid_ids, .@i); break; case 2: @@ -252,7 +252,7 @@ OnReload: array_push(.valid_ids, .@i); break; case 5: - if (ESTATE_MOBILIA_64 & .objid[.@i]) + if (ESTATE_MOBILIA_128 & .objid[.@i]) array_push(.valid_ids, .@i); break; case 6: -- cgit v1.2.3-70-g09d2