mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
Fixed the ACS PLAYERINFO_FVIEWBOB to be a bool instead of a double.
This commit is contained in:
parent
f816eb68ae
commit
7b9a36c8fd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue