- Modified the event-driven ticks to use the same code for calculating the
time as the polled timer so that the timer does not start running until the first time it is used. - Removed the srand() call from D_DoomMain(), because it started the game timer running prematurely, and we never call rand() anywhere. (Not to mention, even if we did use rand(), always seeding it with 0 is rather pointless.) SVN r1974 (trunk)
This commit is contained in:
parent
7b7973c6a7
commit
f09420fce7
3 changed files with 14 additions and 42 deletions
|
|
@ -1597,8 +1597,6 @@ void D_DoomMain (void)
|
|||
const char *wad;
|
||||
DArgs *execFiles;
|
||||
|
||||
srand(I_MSTime());
|
||||
|
||||
// Set the FPU precision to 53 significant bits. This is the default
|
||||
// for Visual C++, but not for GCC, so some slight math variances
|
||||
// might crop up if we leave it alone.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue