summaryrefslogtreecommitdiff
path: root/src/strife
diff options
context:
space:
mode:
authorJames Haley2012-02-09 01:59:02 +0000
committerJames Haley2012-02-09 01:59:02 +0000
commit8bc817adfb66bdec0ff4d9cddf0f240ef129c13a (patch)
tree2840e038751d86d3cb4b5d8a5688f92d011e7ce3 /src/strife
parent5e30a15fd98148cd9c090465d09ff264c18516c4 (diff)
downloadchocolate-doom-8bc817adfb66bdec0ff4d9cddf0f240ef129c13a.tar.gz
chocolate-doom-8bc817adfb66bdec0ff4d9cddf0f240ef129c13a.tar.bz2
chocolate-doom-8bc817adfb66bdec0ff4d9cddf0f240ef129c13a.zip
Comment change in r_main.c
Subversion-branch: /branches/v2-branch Subversion-revision: 2497
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);