From 136efa87ab6b3b7fc10256794a6d5f9eb05bc9e1 Mon Sep 17 00:00:00 2001 From: s1lentq Date: Wed, 11 May 2016 17:34:45 +0600 Subject: [PATCH] Fix typo version --- reapi/extra/amxmodx/scripting/include/reapi.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reapi/extra/amxmodx/scripting/include/reapi.inc b/reapi/extra/amxmodx/scripting/include/reapi.inc index 7021721..0e705c6 100644 --- a/reapi/extra/amxmodx/scripting/include/reapi.inc +++ b/reapi/extra/amxmodx/scripting/include/reapi.inc @@ -116,18 +116,18 @@ native SetHookChainArg(number, AType:type, any:...); */ public __reapi_version_check(const majorVersion, const minorVersion) { - if (majorVersion != REAPI_VERISON_MAJOR) + if (majorVersion != REAPI_VERSION_MAJOR) { new temp[512]; - formatex(temp, sizeof temp - 1, "[ReAPI]: Api major version mismatch; expected %d, real %d", REAPI_VERISON_MAJOR, majorVersion); + formatex(temp, sizeof temp - 1, "[ReAPI]: Api major version mismatch; expected %d, real %d", REAPI_VERSION_MAJOR, majorVersion); set_fail_state(temp); return; } - if (minorVersion < REAPI_VERISON_MINOR) + if (minorVersion < REAPI_VERSION_MINOR) { new temp[512]; - formatex(temp, sizeof temp - 1, "[ReAPI]: Api minor version mismatch; expected at least %d, real %d", REAPI_VERISON_MINOR, minorVersion); + formatex(temp, sizeof temp - 1, "[ReAPI]: Api minor version mismatch; expected at least %d, real %d", REAPI_VERSION_MINOR, minorVersion); set_fail_state(temp); return; }