Fix build.

This commit is contained in:
Nicholas Hastings 2013-11-01 09:58:07 -04:00
parent 27b6a190f0
commit d8907b332d

View File

@ -125,7 +125,7 @@ void Conditions_OnGameFrame(bool simulating)
}
}
maxbit = max(removedconds.lower, removedconds.upper);
maxbit = MAX(removedconds.lower, removedconds.upper);
for (j = 0; j < MAX_CONDS && (bit = ((uint64_t)1 << j)) <= maxbit; j++)
{
if ((removedconds.lower & bit) == bit)