summaryrefslogtreecommitdiff
path: root/src/strife/r_main.c
diff options
context:
space:
mode:
authorJames Haley2010-09-03 04:30:52 +0000
committerJames Haley2010-09-03 04:30:52 +0000
commitab0dc8fcb49a71db33e26f9c01e88d24e43c556e (patch)
tree787292bf7494cbd01c8a967666bdce2abaca4b1b /src/strife/r_main.c
parentd1c8cb2cfed18f5c5c32347011f33a210c96ff38 (diff)
downloadchocolate-doom-ab0dc8fcb49a71db33e26f9c01e88d24e43c556e.tar.gz
chocolate-doom-ab0dc8fcb49a71db33e26f9c01e88d24e43c556e.tar.bz2
chocolate-doom-ab0dc8fcb49a71db33e26f9c01e88d24e43c556e.zip
Code to read dialog lump field-by-field to avoid any possible problems
with structure packing. Also a minor fix to Kaiser's key look code. Subversion-branch: /branches/strife-branch Subversion-revision: 2004
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)