diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-08-19 22:41:08 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-08-19 22:41:08 -0300 |
| commit | d55b9473ec498ae181b3c91583c6950e4c3bb7f2 (patch) | |
| tree | 6f0b2dc1504c037f774868b549fe00fc2945b99d /src/info.cc | |
| parent | b2a9d2cb961fabc1ca05052a645d90663d8e0a92 (diff) | |
| download | game-d55b9473ec498ae181b3c91583c6950e4c3bb7f2.tar.gz game-d55b9473ec498ae181b3c91583c6950e4c3bb7f2.zip | |
fix a problem with monsters freezing after failing to attack
Diffstat (limited to 'src/info.cc')
| -rw-r--r-- | src/info.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
