From d55b9473ec498ae181b3c91583c6950e4c3bb7f2 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Tue, 19 Aug 2025 22:41:08 -0300 Subject: fix a problem with monsters freezing after failing to attack --- src/info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/info.cc') diff --git a/src/info.cc b/src/info.cc index e24b819..eb655c4 100644 --- a/src/info.cc +++ b/src/info.cc @@ -405,7 +405,7 @@ Object GetObject(uint32 CreatureID, int x, int y, int z, int RNum, ObjectType Ty if(Con != NONE){ Obj = GetContainerObject(Con, RNum); } - }else if(y != 0){ + }else if(y != INVENTORY_ANY){ error("GetObject: Ungültiger ContainerCode x=%d,y=%d,z=%d,RNum=%d,Type=%d.\n", x, y, z, RNum, Type.TypeID); } -- cgit v1.2.3