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")) {