diff --git a/game/esm_reclists.hpp b/game/esm_reclists.hpp index b4a96e96f..9e4afba18 100644 --- a/game/esm_reclists.hpp +++ b/game/esm_reclists.hpp @@ -64,6 +64,8 @@ namespace ESMS // Just count them for now int count; + CellList() : count(0) {} + /* What to do here: @@ -79,6 +81,12 @@ namespace ESMS void load(ESMReader &esm) { + // All cells have a name record, even nameless exterior cells. + std::string id = esm.getHNString("NAME"); + + using namespace std; + cout << id << endl; + count++; esm.skipRecord(); }