mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-01 09:18:00 +03:00
Increased itemFlags array; Added startPos to ITEM_INFO; Improved wraiths; Rewritten BuildOutsideRoomsTable;
This commit is contained in:
parent
85ac7c74e6
commit
fdf2de1e89
4 changed files with 23 additions and 40 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue