mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 13:53:49 -07:00
fix: match auto center option text to behavior
This commit is contained in:
parent
973ec52b2a
commit
9804035dc0
3 changed files with 4 additions and 4 deletions
|
@ -11175,7 +11175,7 @@ s16 func_8084ABD8(GlobalContext* globalCtx, Player* this, s32 arg2, s16 arg3) {
|
|||
s16 temp3;
|
||||
|
||||
if (!func_8002DD78(this) && !func_808334B4(this) && (arg2 == 0)) {
|
||||
if (CVar_GetS32("gAutoCenterView", 0)) {
|
||||
if (!CVar_GetS32("gDisableAutoCenterView", 0)) {
|
||||
temp2 = sControlInput->rel.stick_y * 240.0f * (CVar_GetS32("gInvertYAxis", 1) ? -1 : 1);
|
||||
Math_SmoothStepToS(&this->actor.focus.rot.x, temp2, 14, 4000, 30);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue