From fb28b2d416bfb13734d45235a9db15fbbea065fc Mon Sep 17 00:00:00 2001 From: Arkshine Date: Wed, 11 Feb 2015 00:18:22 +0100 Subject: [PATCH] Fix missing parenthesis. --- amxmodx/CvarManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/CvarManager.cpp b/amxmodx/CvarManager.cpp index f23d2480..2a80468b 100644 --- a/amxmodx/CvarManager.cpp +++ b/amxmodx/CvarManager.cpp @@ -230,7 +230,7 @@ CvarInfo* CvarManager::CreateCvar(const char* name, const char* value, const cha // Detour is disabled on map change. // Don't enable it unless there are things to do. - if (info->bound.hasMin || info->bound.hasMax && m_HookDetour) + if ((info->bound.hasMin || info->bound.hasMax) && m_HookDetour) { m_HookDetour->EnableDetour(); }