summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b3dbba7..1f532d9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3,6 +3,9 @@
3#include "gamestate.h" 3#include "gamestate.h"
4#include "parser.tab.h" 4#include "parser.tab.h"
5 5
6#include <stdlib.h>
7#include <time.h>
8
6#include <bu/sio.h> 9#include <bu/sio.h>
7using namespace Bu; 10using namespace Bu;
8 11
@@ -28,6 +31,8 @@ int main( int argc, char *argv[] )
28 31
29 fclose( in ); 32 fclose( in );
30 33
34 srandom( time( NULL ) );
35
31 Game *pGame = bld.getGame(); 36 Game *pGame = bld.getGame();
32 37
33 GameState gs( pGame ); 38 GameState gs( pGame );