diff options
author | Simon Howard | 2007-06-21 22:00:38 +0000 |
---|---|---|
committer | Simon Howard | 2007-06-21 22:00:38 +0000 |
commit | 27b9738390004186f66c2e955fe7ac8c8b296127 (patch) | |
tree | 60333f21244790e24e02e9fef63d245216557a60 /src/g_game.c | |
parent | ed6191430b27a5447ef2675f2cfe19d8f0b88333 (diff) | |
download | chocolate-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.c | 4 |
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; |