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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strife/r_main.c b/src/strife/r_main.c
index dea4603b..ddb583d3 100644
--- a/src/strife/r_main.c
+++ b/src/strife/r_main.c
@@ -844,7 +844,7 @@ void R_SetupPitch(player_t* player)
{
viewpitch = player->pitch;
pitchfrac = ((setblocks*player->pitch)/10);
- centery = (pitchfrac+viewheight)/2;
+ centery = pitchfrac+viewheight/2;
centeryfrac = centery<<FRACBITS;
if(viewheight > 0)