Skip to content

Commit

Permalink
Fixed the ACS PLAYERINFO_FVIEWBOB to be a bool instead of a double.
Browse files Browse the repository at this point in the history
  • Loading branch information
CandiceJoy authored and madame-rachelle committed Dec 20, 2022
1 parent f816eb6 commit 7b9a36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playsim/p_acs.cpp
Expand Up @@ -9959,7 +9959,7 @@ int DLevelScript::RunScript()
case PLAYERINFO_PLAYERCLASS: STACK(2) = userinfo->GetPlayerClassNum(); break;
case PLAYERINFO_DESIREDFOV: STACK(2) = (int)pl->DesiredFOV; break;
case PLAYERINFO_FOV: STACK(2) = (int)pl->FOV; break;
case PLAYERINFO_FVIEWBOB: STACK(2) = DoubleToACS(userinfo->GetFViewBob()); break;
case PLAYERINFO_FVIEWBOB: STACK(2) = (bool)userinfo->GetFViewBob(); break;
default: STACK(2) = 0; break;
}
}
Expand Down

0 comments on commit 7b9a36c

Please sign in to comment.