From 2b88905b40340add5444f31332bffad1dffd21e0 Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Mon, 12 Aug 2013 01:32:44 +0100 Subject: [PATCH] Fixed build. --- extensions/tf2/conditions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/tf2/conditions.cpp b/extensions/tf2/conditions.cpp index 7a90ec35..81ec0e16 100644 --- a/extensions/tf2/conditions.cpp +++ b/extensions/tf2/conditions.cpp @@ -108,7 +108,7 @@ void Conditions_OnGameFrame(bool simulating) uint64_t j; uint64_t bit; - uint64_t maxbit = max(addedconds.lower, addedconds.upper); + uint64_t maxbit = MAX(addedconds.lower, addedconds.upper); for (j = 0; j < MAX_CONDS && (bit = ((uint64_t)1 << j)) <= maxbit; j++) { if ((addedconds.lower & bit) == bit) @@ -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)