summaryrefslogtreecommitdiff
path: root/src/strife/r_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/r_main.c')
-rw-r--r--src/strife/r_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/strife/r_main.c b/src/strife/r_main.c
index 0d60b332..6f303773 100644
--- a/src/strife/r_main.c
+++ b/src/strife/r_main.c
@@ -740,7 +740,8 @@ void R_ExecuteSetViewSize (void)
// planes
for (i=0 ; i<viewheight ; i++)
{
- dy = ((i-viewheight/2)<<FRACBITS)+FRACUNIT/2;
+ //dy = ((i-viewheight/2)<<FRACBITS)+FRACUNIT/2;
+ dy = ((i - centery)<<FRACBITS) + FRACUNIT/2;
dy = abs(dy);
yslope[i] = FixedDiv ( (viewwidth<<detailshift)/2*FRACUNIT, dy);
}