ref: 71cf6472c224f0f35ae78559d728ad221f164b65
parent: bc09b36a201ae09ec5d60a8aa73bddcfb14e2b31
parent: 2dedb03719cacaf7d5978e3a6cebe423a04016e6
author: James Haley <haleyjd@hotmail.com>
date: Sat Mar 5 19:39:01 EST 2016
Merge branch 'master' of https://github.com/chocolate-doom/chocolate-doom
--- a/src/doom/m_random.c
+++ b/src/doom/m_random.c
@@ -16,11 +16,6 @@
// Random number LUT.
//
-
-#include <time.h>
-
-#include "m_random.h"
-
//
// M_Random
// Returns a 0-255 number
@@ -66,13 +61,5 @@
void M_ClearRandom (void)
{
- prndindex = 0;
-
- // Seed the M_Random counter from the system time
-
- rndindex = time(NULL) & 0xff;
+ rndindex = prndindex = 0;
}
-
-
-
-