diff options
| author | Quietust | 2012-02-13 19:17:38 -0600 |
|---|---|---|
| committer | Quietust | 2012-02-13 19:17:38 -0600 |
| commit | d15d38d536178b7501b05227d66dbe62e28e498c (patch) | |
| tree | 162be5d11ab39c7417972a413be5dd0c247fb832 /plugins/prospector.cpp | |
| parent | d0a8c2edd8922673d72a18bfd2214ce45126507b (diff) | |
| download | dfhack-d15d38d536178b7501b05227d66dbe62e28e498c.tar.gz dfhack-d15d38d536178b7501b05227d66dbe62e28e498c.tar.bz2 dfhack-d15d38d536178b7501b05227d66dbe62e28e498c.tar.xz | |
Finish conversion, fix compile errors
Diffstat (limited to 'plugins/prospector.cpp')
| -rw-r--r-- | plugins/prospector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/prospector.cpp b/plugins/prospector.cpp index ea59a550..4fc629ab 100644 --- a/plugins/prospector.cpp +++ b/plugins/prospector.cpp @@ -572,7 +572,7 @@ DFhackCExport command_result prospector (DFHack::Core * c, vector <string> & par con << "Base materials:" << std::endl; for (it = baseMats.begin(); it != baseMats.end(); ++it) { - con << std::setw(25) << tiletype_material::get_key((df::tiletype_material)it->first) << " : " << it->second.count << std::endl; + con << std::setw(25) << ENUM_KEY_STR(tiletype_material,(df::tiletype_material)it->first) << " : " << it->second.count << std::endl; } if (liquidWater.count || liquidMagma.count) |
