mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 05:53:02 +01:00
Make the virtual floor optional, on by default.
This commit is contained in:
@@ -169,13 +169,12 @@ void input_handle_keyboard(bool isTitle)
|
||||
}
|
||||
}
|
||||
|
||||
if (gInputPlaceObjectModifier & (PLACE_OBJECT_MODIFIER_COPY_Z | PLACE_OBJECT_MODIFIER_SHIFT_Z))
|
||||
if (gConfigGeneral.use_virtual_floor)
|
||||
{
|
||||
map_enable_virtual_floor();
|
||||
}
|
||||
else
|
||||
{
|
||||
map_remove_virtual_floor();
|
||||
if (gInputPlaceObjectModifier & (PLACE_OBJECT_MODIFIER_COPY_Z | PLACE_OBJECT_MODIFIER_SHIFT_Z))
|
||||
map_enable_virtual_floor();
|
||||
else
|
||||
map_remove_virtual_floor();
|
||||
}
|
||||
|
||||
// Handle key input
|
||||
|
||||
Reference in New Issue
Block a user