- Duke: Fix rotscrnang locked when reviving player after death via DNKROZ cheat.

* Fixes #138.
This commit is contained in:
Mitchell Richters 2020-10-22 09:17:47 +11:00
parent 9440bc0c6d
commit 63cb7dd2bd

View file

@ -918,7 +918,7 @@ void GameInterface::GetInput(InputPacket* packet, ControlInfo* const hidInput)
if (!cl_syncinput) if (!cl_syncinput)
{ {
if (p->dead_flag == 0) if (sprite[p->i].extra > 0)
{ {
// Do these in the same order as the old code. // Do these in the same order as the old code.
calcviewpitch(p, scaleAdjust); calcviewpitch(p, scaleAdjust);