From 63cb7dd2bd13d6b5c78db970d8505468ae857195 Mon Sep 17 00:00:00 2001
From: Mitchell Richters <mjr4077au@gmail.com>
Date: Thu, 22 Oct 2020 09:17:47 +1100
Subject: [PATCH] - Duke: Fix rotscrnang locked when reviving player after
 death via `DNKROZ` cheat.

* Fixes #138.
---
 source/games/duke/src/input.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/games/duke/src/input.cpp b/source/games/duke/src/input.cpp
index e9127f5c6..a09895050 100644
--- a/source/games/duke/src/input.cpp
+++ b/source/games/duke/src/input.cpp
@@ -918,7 +918,7 @@ void GameInterface::GetInput(InputPacket* packet, ControlInfo* const hidInput)
 
 	if (!cl_syncinput)
 	{
-		if (p->dead_flag == 0)
+		if (sprite[p->i].extra > 0)
 		{
 			// Do these in the same order as the old code.
 			calcviewpitch(p, scaleAdjust);