1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00

* SlotID refactoring

This commit is contained in:
mateuszb
2013-02-16 14:03:47 +00:00
parent d23a5dcfdf
commit 560315bc48
33 changed files with 359 additions and 351 deletions

View File

@ -960,7 +960,7 @@ void CMapLoaderH3M::readObjects()
hlp->count = reader.readUInt16();
//type will be set during initialization
cre->putStack(0, hlp);
cre->putStack(SlotID(0), hlp);
cre->character = reader.readUInt8();
@ -1515,7 +1515,7 @@ void CMapLoaderH3M::readCreatureSet(CCreatureSet * out, int number)
hlp->setType(creID);
}
out->putStack(ir, hlp);
out->putStack(SlotID(ir), hlp);
}
out->validTypes(true);