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

Added a missing rturn in CGameHandler::isAllowedExchangeForQuery. Fixed several typos.

This commit is contained in:
Frank Zago
2011-09-24 01:15:36 +00:00
parent c481177515
commit c4b8039c1e
24 changed files with 46 additions and 44 deletions

View File

@ -1761,7 +1761,7 @@ void Mapa::readObjects( const unsigned char * bufor, int &i)
CGHeroPlaceholder *hp = new CGHeroPlaceholder();;
nobj = hp;
int a = bufor[i++]; //unkown byte, seems to be always 0 (if not - scream!)
int a = bufor[i++]; //unknown byte, seems to be always 0 (if not - scream!)
tlog2 << "Unhandled Hero Placeholder detected: "<<a<<"\n";
int htid = bufor[i++]; //hero type id
@ -1953,7 +1953,7 @@ void Mapa::loadQuest(CQuest * guard, const unsigned char * bufor, int & i)
{
int artid = readNormalNr(bufor,i, 2); i+=2;
guard->m5arts.push_back(artid);
allowedArtifact[artid] = false; //these are unavaliable for random generation
allowedArtifact[artid] = false; //these are unavailable for random generation
}
break;
}
@ -2178,4 +2178,4 @@ bool TerrainTile::isCoastal() const
bool TerrainTile::hasFavourableWinds() const
{
return siodmyTajemniczyBajt & 128;
}
}