Added index to CharacterData, removed some expensive lookups

This commit is contained in:
2016-08-25 23:23:57 +10:00
parent 518ea93adc
commit 64833f86da
5 changed files with 27 additions and 28 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ private:
std::string tilesetName;
//members
int roomIndex = 0; //NOTE: What's this doing here?
int roomIndex = 0;
BarrierManager barrierMgr;
std::list<CharacterData*> characterList;
BattleManager battleMgr;