summaryrefslogtreecommitdiff
path: root/src/init2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
committerBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
commit287df870759d0fc854f76d34151a597b9f529b43 (patch)
treec8804b2c742358e67f1724109eeed6f85257bb97 /src/init2.cc
parentf1af5f03ccd79006fa1536e00ac699272aebc5a0 (diff)
Change object_type to non-POD type
Diffstat (limited to 'src/init2.cc')
-rw-r--r--src/init2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init2.cc b/src/init2.cc
index 4201d214..5479708f 100644
--- a/src/init2.cc
+++ b/src/init2.cc
@@ -770,7 +770,7 @@ static errr init_other(void)
/* Allocate and Wipe the object list */
- o_list = make_array<object_type>(max_o_idx);
+ o_list = new object_type[max_o_idx];
/* Allocate and Wipe the monster list */
m_list = new monster_type[max_m_idx];