shithub: choc

Download patch

ref: 8bc817adfb66bdec0ff4d9cddf0f240ef129c13a
parent: 5e30a15fd98148cd9c090465d09ff264c18516c4
author: James Haley <[email protected]>
date: Wed Feb 8 20:59:02 EST 2012

Comment change in r_main.c

Subversion-branch: /branches/v2-branch
Subversion-revision: 2497

--- a/src/strife/r_main.c
+++ b/src/strife/r_main.c
@@ -740,7 +740,7 @@
     // planes
     for (i=0 ; i<viewheight ; i++)
     {
-	//dy = ((i-viewheight/2)<<FRACBITS)+FRACUNIT/2;
+	// haleyjd 20120208: [STRIFE] viewheight/2 -> centery, accounts for up/down look
         dy = ((i - centery)<<FRACBITS) + FRACUNIT/2;
 	dy = abs(dy);
 	yslope[i] = FixedDiv ( (viewwidth<<detailshift)/2*FRACUNIT, dy);