From 51adb7385c2788711bb2cab0ded55cf282cc7b32 Mon Sep 17 00:00:00 2001 From: Arkshine Date: Fri, 6 Feb 2015 23:25:26 +0100 Subject: [PATCH] Fix a compatibility issue with geoip_country native --- dlls/geoip/geoip_natives.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/geoip/geoip_natives.cpp b/dlls/geoip/geoip_natives.cpp index e9784851..c1ee71f4 100755 --- a/dlls/geoip/geoip_natives.cpp +++ b/dlls/geoip/geoip_natives.cpp @@ -117,6 +117,7 @@ static cell AMX_NATIVE_CALL amx_geoip_country(AMX *amx, cell *params) if (!country) { + MF_SetAmxString(amx, params[2], "error", params[3]); // to keep compatibility with previous version return 0; }