summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 6646d79..7e2ef7f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,6 +1,7 @@
1#include "gamebuilder.h" 1#include "gamebuilder.h"
2#include "game.h" 2#include "game.h"
3#include "gamestate.h" 3#include "gamestate.h"
4#include "options.h"
4 5
5#include <stdlib.h> 6#include <stdlib.h>
6#include <time.h> 7#include <time.h>
@@ -14,6 +15,9 @@ using namespace Bu;
14 15
15int main( int argc, char *argv[] ) 16int main( int argc, char *argv[] )
16{ 17{
18 Options &opt = Options::getInstance();
19 opt.parse( argc, argv );
20
17 srandom( time( NULL ) ); 21 srandom( time( NULL ) );
18 22
19 GameBuilder bld; 23 GameBuilder bld;