mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
SW: Temporarily lock angle and horiz right upon player death
This commit is contained in:
parent
bfd79d8bc2
commit
e3197d206d
1 changed files with 4 additions and 0 deletions
|
@ -6470,6 +6470,10 @@ DoPlayerBeginDie(PLAYERp pp)
|
|||
if (GodMode)
|
||||
return;
|
||||
|
||||
// Ensure these are initially locked
|
||||
pp->camq16ang = pp->q16ang;
|
||||
pp->camq16horiz = pp->q16horiz;
|
||||
|
||||
StopPlayerSound(pp);
|
||||
|
||||
// Do the death scream
|
||||
|
|
Loading…
Reference in a new issue