1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Stacks #5: giving creatures, practically finished (many fixes needed).

This commit is contained in:
Michał W. Urbańczyk
2010-12-12 23:44:16 +00:00
parent fc6d6e02a3
commit 02e4ef507e
10 changed files with 96 additions and 106 deletions

View File

@ -1439,7 +1439,7 @@ void Mapa::readObjects( const unsigned char * bufor, int &i)
CStackInstance *hlp = new CStackInstance();
hlp->count = readNormalNr(bufor,i, 2); i+=2;
//type will be set during initialization
cre->slots[0] = hlp;
cre->putStack(0, hlp);
cre->character = bufor[i]; ++i;
bool isMesTre = bufor[i]; ++i; //true if there is message or treasury