mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 16:24:35 +01:00
Add virtual floor removal check to input
This commit is contained in:
committed by
Aaron van Geffen
parent
4354aae958
commit
c8785bac55
@@ -169,6 +169,11 @@ void input_handle_keyboard(bool isTitle)
|
||||
}
|
||||
}
|
||||
|
||||
if (!(gInputPlaceObjectModifier & (PLACE_OBJECT_MODIFIER_COPY_Z | PLACE_OBJECT_MODIFIER_SHIFT_Z)))
|
||||
{
|
||||
map_remove_virtual_floor();
|
||||
}
|
||||
|
||||
// Handle key input
|
||||
sint32 key;
|
||||
while (!gOpenRCT2Headless && (key = get_next_key()) != 0)
|
||||
|
||||
Reference in New Issue
Block a user