mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
* SlotID refactoring
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user