summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
commitdb827140e1c87342a4534d71d1681d0d6e375d3c (patch)
tree03ddef6081a189379ab2d8e0106827fc6a8bf1b1 /src
parent561276dc17514fc130b67953b06a3498d6ce23af (diff)
Move initialization of Game earlier
Diffstat (limited to 'src')
-rw-r--r--src/init2.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/init2.cc b/src/init2.cc
index 9d2a9d84..1438ed60 100644
--- a/src/init2.cc
+++ b/src/init2.cc
@@ -1137,6 +1137,9 @@ void init_angband(void)
char buf[1024];
+ // Initialize game structure
+ game = new Game();
+
/* Init some VERY basic stuff, like macro arrays */
init_basic();
@@ -1246,9 +1249,6 @@ void init_angband(void)
/* Close it */
(void)fd_close(fd);
- // Initialize game structure
- game = new Game();
-
/*** Initialise some arrays ***/
/* Initialise misc. values */