diff options
Diffstat (limited to 'crawl-ref/source/wiz-dump.h')
-rw-r--r-- | crawl-ref/source/wiz-dump.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/wiz-dump.h b/crawl-ref/source/wiz-dump.h index 3ab44a6e9b..3016b47fed 100644 --- a/crawl-ref/source/wiz-dump.h +++ b/crawl-ref/source/wiz-dump.h @@ -8,7 +8,7 @@ class chardump_parser { public: - chardump_parser(const string &f) : filename(f) { } + chardump_parser(const string &f) : filename(f), in_equipment(false) { } bool parse(); @@ -22,9 +22,10 @@ private: bool _check_stats2(const vector<string> &tokens); bool _check_stats3(const vector<string> &tokens); bool _check_char(const vector<string> &tokens); - bool _check_equipment(const vector<string> &tokens, bool in_equipment); + bool _check_equipment(const vector<string> &tokens); string filename; + bool in_equipment; }; void wizard_load_dump_file(); |