mirror of https://github.com/OpenRCT2/OpenRCT2.git
Mark being inside a piece of sloped terrain as being occupied
This commit is contained in:
parent
d00a282c1c
commit
b9faed7437
|
@ -134,6 +134,7 @@ void virtual_floor_paint(paint_session * session)
|
||||||
tileElement->properties.surface.slope != 0)
|
tileElement->properties.surface.slope != 0)
|
||||||
{
|
{
|
||||||
weAreBelowGround = true;
|
weAreBelowGround = true;
|
||||||
|
weAreOccupied = true;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -212,6 +213,7 @@ void virtual_floor_paint(paint_session * session)
|
||||||
tileElement->properties.surface.slope != 0)
|
tileElement->properties.surface.slope != 0)
|
||||||
{
|
{
|
||||||
theyAreBelowGround = true;
|
theyAreBelowGround = true;
|
||||||
|
theyAreOccupied = true;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue