From 5f0b92f7c324e9e3d7fc83cd174501749f1ed4b7 Mon Sep 17 00:00:00 2001 From: Arkshine Date: Wed, 12 Aug 2015 10:43:59 +0200 Subject: [PATCH] Fix typos --- amxmodx/CGameConfigs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/CGameConfigs.cpp b/amxmodx/CGameConfigs.cpp index 2b6e5361..67f720f7 100644 --- a/amxmodx/CGameConfigs.cpp +++ b/amxmodx/CGameConfigs.cpp @@ -324,7 +324,7 @@ SMCResult CGameConfig::ReadSMC_KeyValue(const SMCStates *states, const char *key } else if (!strcmp(key, "size")) { - TempType.fieldSize = ke::Min(0, atoi(value)); + TempType.fieldSize = ke::Max(0, atoi(value)); } else if (!strcmp(key, "unsigned")) {