Increased itemFlags array; Added startPos to ITEM_INFO; Improved wraiths; Rewritten BuildOutsideRoomsTable;

This commit is contained in:
MontyTRC89 2020-08-04 21:53:58 +02:00
parent 85ac7c74e6
commit fdf2de1e89
4 changed files with 23 additions and 40 deletions

View file

@ -3246,8 +3246,8 @@ int IsRoomOutside(int x, int y, int z)
if (x < 0 || z < 0)
return -2;
int xTable = x / 4 / 1024;
int zTable = z / 4 / 1024;
int xTable = x/* / 4*/ / 1024;
int zTable = z /*/ 4*/ / 1024;
if (OutsideRoomTable[xTable][zTable].size() == 0)
return -2;