summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-03 11:38:01 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:11 +0000
commit5f037039de1180b04661f0003473496e84f88b8b (patch)
tree0e5d3be701502ed90e1ee9c3beb9dadb95df5979 /src/game
parentb4e0d95f4fb65741065ec857e1b4da3680a397dd (diff)
* Make 1st person weapon animation random (but unpredictable)
Diffstat (limited to 'src/game')
-rw-r--r--src/game/bg_pmove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index aa3d6691..77f0a4a8 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -3261,7 +3261,7 @@ static void PM_Weapon( void )
}
else
{
- int num = abs( pm->ps->weaponTime );
+ int num = rand( );
//FIXME: it would be nice to have these hard coded policies in
// weapon.cfg