summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-21 15:59:16 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:56 +0100
commite803dedee4efc3c49b4fd3edb5498dcbc52922c2 (patch)
treec03b995b7f43d09754c1e3db9a24f55a54e8c203 /src
parent0f0ac0c91c029999000dff4d005b3f5ab478ab81 (diff)
Remove unused HOOK_INIT_GAME
Diffstat (limited to 'src')
-rw-r--r--src/defines.h1
-rw-r--r--src/init2.cc5
2 files changed, 0 insertions, 6 deletions
diff --git a/src/defines.h b/src/defines.h
index aedf37f5..86dd4de9 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -4369,7 +4369,6 @@
#define HOOK_CHAT 32
#define HOOK_MON_SPEAK 33
#define HOOK_BIRTH_OBJECTS 35
-#define HOOK_INIT_GAME 37
#define HOOK_SAVE_GAME 40
#define HOOK_LOAD_GAME 41
#define HOOK_LEVEL_REGEN 42
diff --git a/src/init2.cc b/src/init2.cc
index 4a3fc4d6..97e91cdf 100644
--- a/src/init2.cc
+++ b/src/init2.cc
@@ -1649,9 +1649,6 @@ static errr init_misc(void)
/* Initialize messages subsystem */
message_init();
- /* Initialize game */
- process_hooks(HOOK_INIT_GAME, "(s)", "begin");
-
/* Initialise the values */
process_dungeon_file("misc.txt", &ystart, &xstart, 0, 0, TRUE, FALSE);
@@ -2478,6 +2475,4 @@ void init_angband(void)
/* Done */
note("[Initialisation complete]");
-
- process_hooks(HOOK_INIT_GAME, "(s)", "end");
}