SW: Temporarily lock angle and horiz right upon player death

This commit is contained in:
NY00123 2020-04-18 00:09:27 +03:00 committed by Christoph Oelckers
parent bfd79d8bc2
commit e3197d206d

View file

@ -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