mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 04:23:20 +01:00
clang-format root
This commit is contained in:
committed by
Hielke Morsink
parent
9c022606f1
commit
c57bbca827
@@ -7,9 +7,10 @@
|
||||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include "Context.h"
|
||||
#include "Input.h"
|
||||
|
||||
#include "Context.h"
|
||||
|
||||
INPUT_STATE _inputState;
|
||||
uint8_t _inputFlags;
|
||||
uint8_t gInputPlaceObjectModifier;
|
||||
@@ -42,9 +43,12 @@ void game_handle_keyboard_input()
|
||||
|
||||
void input_set_flag(INPUT_FLAGS flag, bool on)
|
||||
{
|
||||
if (on) {
|
||||
if (on)
|
||||
{
|
||||
_inputFlags |= flag;
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
_inputFlags &= ~flag;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user