From 2505a2ec70e3696dee569df3765e91f0b42a71f4 Mon Sep 17 00:00:00 2001 From: Itms Date: Sun, 4 Oct 2015 17:21:36 +0000 Subject: [PATCH] Remove a preprocessor ambiguity, fixes #3480. This was SVN commit r17101. --- source/simulation2/helpers/Pathfinding.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/simulation2/helpers/Pathfinding.h b/source/simulation2/helpers/Pathfinding.h index 8a908a5445..3515c7c5a9 100644 --- a/source/simulation2/helpers/Pathfinding.h +++ b/source/simulation2/helpers/Pathfinding.h @@ -100,7 +100,7 @@ static const int PASS_CLASS_BITS = 16; typedef u16 NavcellData; // 1 bit per passability class (up to PASS_CLASS_BITS) #define IS_PASSABLE(item, classmask) (((item) & (classmask)) == 0) #define PASS_CLASS_MASK_FROM_INDEX(id) ((pass_class_t)(1u << id)) -#define SPECIAL_PASS_CLASS PASS_CLASS_MASK_FROM_INDEX(PASS_CLASS_BITS-1) // 16th bit, used for special in-place computations +#define SPECIAL_PASS_CLASS PASS_CLASS_MASK_FROM_INDEX((PASS_CLASS_BITS-1)) // 16th bit, used for special in-place computations namespace Pathfinding {