mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-01 00:45:26 +02:00
Last bugfix
This commit is contained in:
@ -2031,7 +2031,10 @@ void CAmbarCendamo::deh3m()
|
|||||||
int gart = readNormalNr(i, 1); ++i; //number of gained artifacts
|
int gart = readNormalNr(i, 1); ++i; //number of gained artifacts
|
||||||
for(int oo = 0; oo<gart; ++oo)
|
for(int oo = 0; oo<gart; ++oo)
|
||||||
{
|
{
|
||||||
spec->artifacts.push_back(&(CGameInfo::mainObj->arth->artifacts[readNormalNr(i, 2)])); i+=2;
|
spec->artifacts.push_back(&(CGameInfo::mainObj->arth->artifacts[readNormalNr(i, 2)])); ++i;
|
||||||
|
if(map.version > RoE)
|
||||||
|
i++;
|
||||||
|
|
||||||
}
|
}
|
||||||
int gspel = readNormalNr(i, 1); ++i; //number of gained spells
|
int gspel = readNormalNr(i, 1); ++i; //number of gained spells
|
||||||
for(int oo = 0; oo<gspel; ++oo)
|
for(int oo = 0; oo<gspel; ++oo)
|
||||||
@ -2040,9 +2043,7 @@ void CAmbarCendamo::deh3m()
|
|||||||
}
|
}
|
||||||
int gcre = readNormalNr(i, 1); ++i; //number of gained creatures
|
int gcre = readNormalNr(i, 1); ++i; //number of gained creatures
|
||||||
spec->creatures = readCreatureSet(i, gcre); i+=4*gcre;
|
spec->creatures = readCreatureSet(i, gcre); i+=4*gcre;
|
||||||
i+=7;
|
i+=8;
|
||||||
if(map.version > RoE)
|
|
||||||
i++;
|
|
||||||
nobj->info = spec;
|
nobj->info = spec;
|
||||||
///////end of copied fragment
|
///////end of copied fragment
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user