1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

- minor fixes (363, 365, 371)

This commit is contained in:
Ivan Savenko
2010-02-15 13:19:13 +00:00
parent 448c2e7225
commit f250880c69
3 changed files with 3 additions and 3 deletions

View File

@@ -149,7 +149,7 @@ static CCreatureSet readCreatureSet(const unsigned char * bufor, int &i, int num
std::pair<ui32,si32> ins;
for(int ir=0;ir<number;ir++)
{
int rettt = readNormalNr(bufor,i+ir*4, 2);tlog1<<"Creature has ID "<<rettt<<"\n";
int rettt = readNormalNr(bufor,i+ir*4, 2);
if(rettt==0xffff) continue;
if(rettt>65520)
rettt = 65536-rettt+VLC->creh->creatures.size();//this will happens when random object has random army