summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-07-10 08:15:39 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-07-14 08:47:43 -0400
commitfff14fb3beb1d2e70d702f1cda6a7de6355c2507 (patch)
treeb18cefd32601dc87d815b1573a903537660375d5 /crawl-ref/source/initfile.cc
parentdc4f2bac322bd5c5cb7073bd8a568aca169ceaf0 (diff)
downloadcrawl-ref-fff14fb3beb1d2e70d702f1cda6a7de6355c2507.tar.gz
crawl-ref-fff14fb3beb1d2e70d702f1cda6a7de6355c2507.zip
Separate feature data into feature-data.h.
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index 4b00d7af74..5e7781184d 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -1311,6 +1311,7 @@ void game_options::add_feature_override(const string &text)
if (feats[i] >= NUM_FEATURES)
continue; // TODO: handle other object types.
feature_def &fov(feature_overrides[feats[i]]);
+ init_fd(fov);
#define SYM(n, field) if (ucs_t s = read_symbol(iprops[n])) \
fov.field = s;
#define COL(n, field) if (unsigned short c = str_to_colour(iprops[n], BLACK)) \