mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- Duke: Back up rotscrnang
if script sets target to new value so we can interpolate the changes.
This commit is contained in:
parent
5050947dca
commit
3778327818
1 changed files with 5 additions and 1 deletions
|
@ -692,7 +692,11 @@ void DoPlayer(bool bSet, int lVar1, int lLabelID, int lVar2, DDukeActor* sActor,
|
|||
break;
|
||||
|
||||
case PLAYER_ROTSCRNANG:
|
||||
if (bSet) ps[iPlayer].angle.rotscrnang = buildang(lValue);
|
||||
if (bSet)
|
||||
{
|
||||
ps[iPlayer].angle.orotscrnang = ps[iPlayer].angle.rotscrnang;
|
||||
ps[iPlayer].angle.rotscrnang = buildang(lValue);
|
||||
}
|
||||
else SetGameVarID(lVar2, ps[iPlayer].angle.rotscrnang.asbuild(), sActor, sPlayer);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue