Do not create danger maps for campaign. Add this later, but there seems to be too many corner cases to handle for now.

master
Per Inge Mathisen 2010-10-18 23:01:29 +02:00
parent 6c406f4a68
commit ca7155957d
1 changed files with 5 additions and 1 deletions

View File

@ -2266,7 +2266,11 @@ static void dangerUpdate(int player)
{
psTile->dangerBits |= (1 << player);
}
if (game.type == SKIRMISH)
{
dangerFloodFill(player);
}
// else everything is equally dangerous
}
void mapInit()