Reverted changes from r1775 and r1779 that used 'bool' instead of

'BOOL' and thereby prevented the code from building


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1809 4a71c877-e1ca-e34f-864e-861f7616d084
master
Ari Johnson 2007-06-04 17:26:43 +00:00
parent c227835d6a
commit d411264e17
2 changed files with 2 additions and 2 deletions

View File

@ -3956,7 +3956,7 @@ static void locateMouse(void)
unsigned int j;
for(j = 0; j < visibleYTiles; ++j)
{
bool bWaterTile = tileScreenInfo[i][j].bWater;
BOOL bWaterTile = tileScreenInfo[i][j].bWater;
int tileZ = (bWaterTile ? tileScreenInfo[i][j].water.z : tileScreenInfo[i][j].screen.z);
if(tileZ <= nearestZ)

View File

@ -202,7 +202,7 @@ extern BOOL placeDroid(STRUCTURE *psStructure, UDWORD *droidX, UDWORD *droidY);
//extern BOOL getPowerGenExists(UDWORD player);
/* is this a lassat structure? */
static inline bool isLasSat(STRUCTURE_STATS *pStructureType)
static inline BOOL isLasSat(STRUCTURE_STATS *pStructureType)
{
return (pStructureType->psWeapStat[0]
&& pStructureType->psWeapStat[0]->weaponSubClass == WSC_LAS_SAT);