Fix flat bridges; Add wrecking ball functions

This commit is contained in:
asasas9500 2019-12-23 19:38:47 -03:00
parent 1b1b58be44
commit 45f2adef8e
3 changed files with 107 additions and 4 deletions

View file

@ -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;
}