From 35f8e79d07b0409e5a1006a79a8e32fb547415f7 Mon Sep 17 00:00:00 2001 From: Nicolay Korslund Date: Wed, 19 May 2010 20:01:45 +0200 Subject: [PATCH] Twitter test 2 - minor fixes on the ESMStore system --- game/esm_reclists.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) 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(); }