mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-10 20:46:47 +03:00
Fix flat bridges; Add wrecking ball functions
This commit is contained in:
parent
1b1b58be44
commit
45f2adef8e
3 changed files with 107 additions and 4 deletions
|
@ -88,7 +88,7 @@ void BridgeFlatFloor(ITEM_INFO* item, int x, int y, int z, int* height)
|
|||
|
||||
void BridgeFlatCeiling(ITEM_INFO* item, int x, int y, int z, int* height)
|
||||
{
|
||||
if (item->pos.yPos >= y)
|
||||
if (item->pos.yPos < y)
|
||||
{
|
||||
*height = item->pos.yPos + 256;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue