summaryrefslogtreecommitdiff
path: root/src/init2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init2.c')
-rw-r--r--src/init2.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/init2.c b/src/init2.c
index 1f6e66e6..71e7bc2b 100644
--- a/src/init2.c
+++ b/src/init2.c
@@ -1959,13 +1959,6 @@ static errr init_misc(void)
/* Hack -- No messages yet */
message__tail = MESSAGE_BUF;
- /* Prepare gods */
- deity_info = NULL;
- max_gods = MAX_GODS_INIT;
- reinit_gods(max_gods);
-
- C_COPY(deity_info, deity_info_init, MAX_GODS_INIT, deity_type);
-
/* Prepare schools */
max_spells = 0;
max_schools = 0;
@@ -2066,25 +2059,6 @@ static errr init_wilderness(void)
return 0;
}
-void reinit_gods(s16b new_size)
-{
- deity_type *new_deity;
-
- C_MAKE(new_deity, new_size, deity_type);
-
- /* Reallocate the extra memory */
- if (deity_info)
- {
- C_COPY(new_deity, deity_info, max_gods, deity_type);
-
- C_FREE(deity_info, max_gods, deity_type);
- }
-
- deity_info = new_deity;
-
- max_gods = new_size;
-}
-
void init_spells(s16b new_size)
{
/* allocate the extra memory */