mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
- Duke: Set both orotscrnang
and rotscrnang
when being called from a script, since the former is an addition.
This commit is contained in:
parent
681bd640ed
commit
04d20a52c3
1 changed files with 1 additions and 5 deletions
|
@ -710,11 +710,7 @@ void DoPlayer(bool bSet, int lVar1, int lLabelID, int lVar2, DDukeActor* sActor,
|
|||
break;
|
||||
|
||||
case PLAYER_ROTSCRNANG:
|
||||
if (bSet)
|
||||
{
|
||||
ps[iPlayer].angle.orotscrnang = ps[iPlayer].angle.rotscrnang;
|
||||
ps[iPlayer].angle.rotscrnang = DAngle::fromBuild(lValue);
|
||||
}
|
||||
if (bSet) ps[iPlayer].angle.orotscrnang = ps[iPlayer].angle.rotscrnang = DAngle::fromBuild(lValue);
|
||||
else SetGameVarID(lVar2, ps[iPlayer].angle.rotscrnang.Buildang(), sActor, sPlayer);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue