cosmetic fixes, and random number seed fix

This commit is contained in:
Chris Danford
2003-02-02 18:18:51 +00:00
parent 57f0a820a1
commit a9550d358c
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -27,6 +27,7 @@
#include "arch/arch.h"
#include "arch/LoadingWindow/LoadingWindow.h"
#include "arch/ErrorDialog/ErrorDialog.h"
#include "time.h"
#include "SDL.h"
#include "SDL_syswm.h" // for SDL_SysWMinfo
@@ -261,7 +262,8 @@ int main(int argc, char* argv[])
SDL_WM_SetCaption("StepMania", "StepMania");
loading_window->Paint();
srand( (unsigned)RageTimer::GetTimeSinceStart() ); // seed number generator
// changed to use time. GetTimeSinceStart is silly because it always return 0! -Chris
srand( time(NULL) ); // seed number generator
//
// Create game objects