mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
- one more crash at map loading
This commit is contained in:
@ -897,7 +897,7 @@ CGObjectInstance * Mapa::loadHero(const ui8 * bufor, int &i, int idToBeGiven)
|
||||
{
|
||||
bool areSpells = bufor[i]; ++i;
|
||||
|
||||
if(areSpells) //TODO: sprawdziæ //seems to be ok - tow
|
||||
if(areSpells) //TODO: sprawdzi //seems to be ok - tow
|
||||
{
|
||||
nhi->spells.insert(0xffffffff); //placeholder "preset spells"
|
||||
int ist = i;
|
||||
@ -2209,4 +2209,4 @@ bool TerrainTile::hasFavourableWinds() const
|
||||
bool TerrainTile::isWater() const
|
||||
{
|
||||
return tertype == water;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user