shithub: hexen

Download patch

ref: d68bbdb4989c6ebca698ad3bc729a748af5de8ef
parent: b29e042630023016ae6b293904ac34bf285bd19c
author: Jacob Moody <moody@posixcafe.org>
date: Fri Jan 27 00:39:23 EST 2023

upstream tiny tweak

--- a/r_things.c
+++ b/r_things.c
@@ -1186,8 +1186,8 @@
 // draw the psprites on top of everything
 //
 // Added for the sideviewing with an external device
-	if (viewangleoffset <= 1024<<ANGLETOFINESHIFT ||
-		viewangleoffset >= -1024<<ANGLETOFINESHIFT)
+	if (viewangleoffset <=  1024<<ANGLETOFINESHIFT ||
+	viewangleoffset >= -(1024<<ANGLETOFINESHIFT))
 	{
 	// don't draw on side views
 		R_DrawPlayerSprites ();