From ab0dc8fcb49a71db33e26f9c01e88d24e43c556e Mon Sep 17 00:00:00 2001 From: James Haley Date: Fri, 3 Sep 2010 04:30:52 +0000 Subject: 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 --- src/strife/r_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strife/r_main.c') 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< 0) -- cgit v1.2.3