1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +02:00

Hero portraits in campaign bonus selection.

This commit is contained in:
Michał W. Urbańczyk
2013-02-09 19:19:14 +00:00
parent 13b3d23b26
commit 2f39db2375
5 changed files with 29 additions and 9 deletions

View File

@ -1329,8 +1329,7 @@ void CMapLoaderH3M::readObjects()
CGHeroPlaceholder * hp = new CGHeroPlaceholder();
nobj = hp;
int a = reader.readUInt8();//unknown byte, seems to be always 0 (if not - scream!)
tlog2 << "Unhandled Hero Placeholder detected: " << a << std::endl;
hp->setOwner(reader.readUInt8());
int htid = reader.readUInt8();; //hero type id
nobj->subID = htid;