summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index 7badc9bb..9dd49aaa 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -11,6 +11,7 @@
#include "birth.hpp"
#include "dungeon.h"
#include "files.hpp"
+#include "game.hpp"
#include "init2.h"
#include "modules.hpp"
#include "util.h"
@@ -131,6 +132,9 @@ int main_real(int argc, char *argv[], char const *platform_sys, int (*init_platf
bool_ args = TRUE;
+ // Initialize game structure
+ game = new Game();
+
/* Get the file paths */
init_file_paths_with_env();