mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:53:53 +00:00
Twitter test 2 - minor fixes on the ESMStore system
This commit is contained in:
parent
d9d16fc035
commit
35f8e79d07
1 changed files with 8 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue