diff options
author | Simon Howard | 2007-06-16 16:03:10 +0000 |
---|---|---|
committer | Simon Howard | 2007-06-16 16:03:10 +0000 |
commit | 304a0037773d8dde95ee912b8b7e67f314a7c53e (patch) | |
tree | 1ef52f130192b7b0b21540905f7ef217273afe03 /src/g_game.c | |
parent | a9feab0830ecdf0b3e52e9339522918e3f12226f (diff) | |
download | chocolate-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.c | 4 |
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; |