Fixed the ACS PLAYERINFO_FVIEWBOB to be a bool instead of a double.

This commit is contained in:
CandiceJoy 2022-12-20 00:17:00 -05:00 committed by Rachael Alexanderson
parent f816eb68ae
commit 7b9a36c8fd

View file

@ -9959,7 +9959,7 @@ scriptwait:
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;
}
}