diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-12-07 05:06:13 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-12-07 05:06:13 +0100 |
commit | 0512ea07dcec68704c554d73acbacec64e36d2e7 (patch) | |
tree | 55b68f043970ad589f79a76a763542c11607d4a8 /crawl-ref/source/feature.h | |
parent | aae85d3ce5d1124eb0f63a66d2540c0d878f8537 (diff) | |
download | crawl-ref-0512ea07dcec68704c554d73acbacec64e36d2e7.tar.gz crawl-ref-0512ea07dcec68704c554d73acbacec64e36d2e7.zip |
Initialize invis_fd and cloud_fd in the code rather than statically.
They're non-const and get amended already.
Diffstat (limited to 'crawl-ref/source/feature.h')
-rw-r--r-- | crawl-ref/source/feature.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/crawl-ref/source/feature.h b/crawl-ref/source/feature.h index 6a14a41efc..7690f6b2b4 100644 --- a/crawl-ref/source/feature.h +++ b/crawl-ref/source/feature.h @@ -29,21 +29,6 @@ struct feature_def minimap(MF_UNSEEN) {} - // FIXME: my kingdom for C++11 !!! - // Please drop this constructor for a proper initializer in feature.cc then. - feature_def(dungeon_char_type dc, map_feature mf) : - dchar(dc), - symbol(0), - magic_symbol(0), - colour(BLACK), - map_colour(DARKGREY), - seen_colour(BLACK), - em_colour(BLACK), - seen_em_colour(BLACK), - flags(FFT_NONE), - minimap(mf) - {} - bool is_notable() const { return flags & FFT_NOTABLE; } }; |