Uh. I hate git.
parent
6f29cab638
commit
1401fbd13d
|
@ -1627,8 +1627,10 @@ bool fireOnLocation(unsigned int x, unsigned int y)
|
|||
return psTile != NULL && TileIsBurning(psTile);
|
||||
}
|
||||
|
||||
static void dangerFloodFill(int player)
|
||||
// This function runs in a separate thread!
|
||||
static int dangerFloodFill(WZ_DECL_UNUSED void *data)
|
||||
{
|
||||
int player = lastDangerPlayer;
|
||||
int i;
|
||||
Vector2i pos = getPlayerStartPosition(player);
|
||||
Vector2i npos;
|
||||
|
@ -1690,6 +1692,7 @@ static void dangerFloodFill(int player)
|
|||
pos.y = floodbucket[bucketcounter].y;
|
||||
}
|
||||
} while (bucketcounter);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// This function runs in a separate thread!
|
||||
|
|
|
@ -1716,6 +1716,11 @@ STRUCTURE* buildStructureDir(STRUCTURE_STATS *pStructureType, UDWORD x, UDWORD y
|
|||
}
|
||||
}
|
||||
|
||||
if (pStructureType->type != REF_REARM_PAD && pStructureType->type != REF_GATE)
|
||||
{
|
||||
auxStructureBlocking(psBuilding);
|
||||
}
|
||||
|
||||
for (width = 0; width < sWidth; width++)
|
||||
{
|
||||
for (breadth = 0; breadth < sBreadth; breadth++)
|
||||
|
|
Loading…
Reference in New Issue