From d7dbb4bb8b8367a75447456dc284c7cd0ccb385b Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Wed, 12 May 2021 11:44:05 +1000 Subject: [PATCH] - gameinput.h: Fix some mangled formatting from merging of master into branch. --- source/core/gameinput.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/source/core/gameinput.h b/source/core/gameinput.h index bd3b5dbc5..7ede643bf 100644 --- a/source/core/gameinput.h +++ b/source/core/gameinput.h @@ -28,7 +28,7 @@ struct PlayerHorizon void addadjustment(double value) { __addadjustment(buildfhoriz(value)); - } + } void addadjustment(fixedhoriz value) { @@ -46,14 +46,14 @@ struct PlayerHorizon } void settarget(fixedhoriz value, bool backup = false) - { + { __settarget(value, backup); - } + } bool targetset() - { + { return target.asq16(); - } + } void processhelpers(double const scaleAdjust) { @@ -69,7 +69,7 @@ struct PlayerHorizon { horiz = target; target = q16horiz(0); - } + } } else if (adjustment) { @@ -161,12 +161,12 @@ struct PlayerAngle void addadjustment(double value) { __addadjustment(buildfang(value)); - } + } void addadjustment(binangle value) { __addadjustment(value); - } + } void resetadjustment() { @@ -176,17 +176,17 @@ struct PlayerAngle void settarget(double value, bool backup = false) { __settarget(buildfang(value), backup); - } + } void settarget(binangle value, bool backup = false) { __settarget(value, backup); - } + } bool targetset() - { + { return target.asbam(); - } + } void processhelpers(double const scaleAdjust) { @@ -202,7 +202,7 @@ struct PlayerAngle { ang = target; target = bamang(0); - } + } } else if (adjustment) {