summaryrefslogtreecommitdiff
path: root/src/g_game.c
diff options
context:
space:
mode:
authorSimon Howard2007-06-21 22:00:38 +0000
committerSimon Howard2007-06-21 22:00:38 +0000
commit27b9738390004186f66c2e955fe7ac8c8b296127 (patch)
tree60333f21244790e24e02e9fef63d245216557a60 /src/g_game.c
parented6191430b27a5447ef2675f2cfe19d8f0b88333 (diff)
downloadchocolate-doom-27b9738390004186f66c2e955fe7ac8c8b296127.tar.gz
chocolate-doom-27b9738390004186f66c2e955fe7ac8c8b296127.tar.bz2
chocolate-doom-27b9738390004186f66c2e955fe7ac8c8b296127.zip
Revert previous change from bitshifts to divides; this causes demo
desyncs. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 923
Diffstat (limited to 'src/g_game.c')
-rw-r--r--src/g_game.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/g_game.c b/src/g_game.c
index 46337443..9ef99408 100644
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -1638,7 +1638,7 @@ G_InitNew
if (fastparm || (skill == sk_nightmare && gameskill != sk_nightmare) )
{
for (i=S_SARG_RUN1 ; i<=S_SARG_PAIN2 ; i++)
- states[i].tics /= 2;
+ states[i].tics >>= 1;
mobjinfo[MT_BRUISERSHOT].speed = 20*FRACUNIT;
mobjinfo[MT_HEADSHOT].speed = 20*FRACUNIT;
mobjinfo[MT_TROOPSHOT].speed = 20*FRACUNIT;
@@ -1646,7 +1646,7 @@ G_InitNew
else if (skill != sk_nightmare && gameskill == sk_nightmare)
{
for (i=S_SARG_RUN1 ; i<=S_SARG_PAIN2 ; i++)
- states[i].tics *= 2;
+ states[i].tics <<= 1;
mobjinfo[MT_BRUISERSHOT].speed = 15*FRACUNIT;
mobjinfo[MT_HEADSHOT].speed = 10*FRACUNIT;
mobjinfo[MT_TROOPSHOT].speed = 10*FRACUNIT;