summaryrefslogtreecommitdiff
path: root/src/strife/m_random.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/m_random.c')
-rw-r--r--src/strife/m_random.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/strife/m_random.c b/src/strife/m_random.c
index 31cdf1b2..b7e6aa05 100644
--- a/src/strife/m_random.c
+++ b/src/strife/m_random.c
@@ -72,13 +72,15 @@ int M_Random (void)
return rndtable[rndindex];
}
+//
+// M_ClearRandom
+//
+// haleyjd 20110204 [STRIFE]: No "seeding" of M_Random index
+//
void M_ClearRandom (void)
{
prndindex = 0;
-
- // Seed the M_Random counter from the system time
-
- rndindex = time(NULL) & 0xff;
+ rndindex = 0;
}