diff options
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index 53b61108..eb81594d 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -674,7 +674,7 @@ G_InitSpawnQueue Initialise a spawn queue ============ */ -int G_InitSpawnQueue( spawnQueue_t *sq ) +void G_InitSpawnQueue( spawnQueue_t *sq ) { sq->back = sq->front = 0; sq->back = QUEUE_MINUS1( sq->back ); @@ -1734,6 +1734,9 @@ void G_RunFrame( int levelTime ) level.time = levelTime; msec = level.time - level.previousTime; + //TA: seed the rng + srand( level.framenum ); + // get any cvar changes G_UpdateCvars( ); |