mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-02 09:47:58 +03:00
Update control.cpp
This commit is contained in:
parent
258a9b367f
commit
f9aa0e9f12
1 changed files with 4 additions and 0 deletions
|
@ -1022,6 +1022,8 @@ int CheckNoColFloorTriangle(FLOOR_INFO *floor, int x, int z)
|
||||||
int dx = x & 1023;
|
int dx = x & 1023;
|
||||||
int dz = z & 1023;
|
int dz = z & 1023;
|
||||||
|
|
||||||
|
// TODO: bring these checks back!
|
||||||
|
|
||||||
//if (type == NOCOLF1T && dx <= (SECTOR(1) - dz))
|
//if (type == NOCOLF1T && dx <= (SECTOR(1) - dz))
|
||||||
// return -1;
|
// return -1;
|
||||||
//else if (type == NOCOLF1B && dx > (SECTOR(1) - dz))
|
//else if (type == NOCOLF1B && dx > (SECTOR(1) - dz))
|
||||||
|
@ -1047,6 +1049,8 @@ int CheckNoColCeilingTriangle(FLOOR_INFO *floor, int x, int z)
|
||||||
int dx = x & 1023;
|
int dx = x & 1023;
|
||||||
int dz = z & 1023;
|
int dz = z & 1023;
|
||||||
|
|
||||||
|
// TODO: bring these checks back!
|
||||||
|
|
||||||
//if (type == NOCOLC1T && dx <= (SECTOR(1) - dz))
|
//if (type == NOCOLC1T && dx <= (SECTOR(1) - dz))
|
||||||
// return -1;
|
// return -1;
|
||||||
//else if (type == NOCOLC1B && dx > (SECTOR(1) - dz))
|
//else if (type == NOCOLC1B && dx > (SECTOR(1) - dz))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue