From 8f49cddd7d0fff43b17a7f5127c0341e653f77f5 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 25 Apr 2007 14:15:00 +0000 Subject: [PATCH] fixed windows build --- amxmodx/meta_api.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index 624c30d2..69fdaeed 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -408,19 +408,19 @@ int C_Spawn(edict_t *pent) strncpy(temporaryMap,STRING(gpGlobals->mapname),sizeof(temporaryMap)-1); - int i=0; + int ii=0; - while (temporaryMap[i]!='_' && temporaryMap[i]!='\0') + while (temporaryMap[ii]!='_' && temporaryMap[ii]!='\0') { - ++i; + ++ii; } - if (temporaryMap[i]=='_') + if (temporaryMap[ii]=='_') { // this map has a prefix - temporaryMap[i]='\0'; + temporaryMap[ii]='\0'; snprintf(map_pluginsfile_path, sizeof(map_pluginsfile_path)-1, "%s/maps/prefixes/plugins-%s.ini", configs_dir,