summaryrefslogtreecommitdiff
path: root/src/strife
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife')
-rw-r--r--src/strife/r_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strife/r_main.c b/src/strife/r_main.c
index 6f303773..cf588159 100644
--- a/src/strife/r_main.c
+++ b/src/strife/r_main.c
@@ -740,7 +740,7 @@ void R_ExecuteSetViewSize (void)
// 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);