summaryrefslogtreecommitdiff
path: root/src/g_game.c
diff options
context:
space:
mode:
authorSimon Howard2007-06-16 16:03:10 +0000
committerSimon Howard2007-06-16 16:03:10 +0000
commit304a0037773d8dde95ee912b8b7e67f314a7c53e (patch)
tree1ef52f130192b7b0b21540905f7ef217273afe03 /src/g_game.c
parenta9feab0830ecdf0b3e52e9339522918e3f12226f (diff)
downloadchocolate-doom-304a0037773d8dde95ee912b8b7e67f314a7c53e.tar.gz
chocolate-doom-304a0037773d8dde95ee912b8b7e67f314a7c53e.tar.bz2
chocolate-doom-304a0037773d8dde95ee912b8b7e67f314a7c53e.zip
Use divides instead of bitshifts, for clarity
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 910
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 0a2d5862..8d60a5ce 100644
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -1605,7 +1605,7 @@ G_InitNew
if (fastparm || (skill == sk_nightmare && gameskill != sk_nightmare) )
{
for (i=S_SARG_RUN1 ; i<=S_SARG_PAIN2 ; i++)
- states[i].tics >>= 1;
+ states[i].tics /= 2;
mobjinfo[MT_BRUISERSHOT].speed = 20*FRACUNIT;
mobjinfo[MT_HEADSHOT].speed = 20*FRACUNIT;
mobjinfo[MT_TROOPSHOT].speed = 20*FRACUNIT;
@@ -1613,7 +1613,7 @@ G_InitNew
else if (skill != sk_nightmare && gameskill == sk_nightmare)
{
for (i=S_SARG_RUN1 ; i<=S_SARG_PAIN2 ; i++)
- states[i].tics <<= 1;
+ states[i].tics *= 2;
mobjinfo[MT_BRUISERSHOT].speed = 15*FRACUNIT;
mobjinfo[MT_HEADSHOT].speed = 10*FRACUNIT;
mobjinfo[MT_TROOPSHOT].speed = 10*FRACUNIT;