array index issue supposedly
This commit is contained in:
parent
17f3950f74
commit
646d201025
@ -402,6 +402,8 @@ public int RetrieveZoneIndex(char[] zone)
|
||||
{
|
||||
//if you leave zone_2 you want the corresponding racezone to be zone_3
|
||||
int iterator = strlen(zone) - 1;
|
||||
if (iterator == -1)
|
||||
return 1;
|
||||
char l_sZone[g_dIndex];
|
||||
Format(l_sZone, sizeof(l_sZone), zone);
|
||||
while (IsCharNumeric(l_sZone[iterator]))
|
||||
|
Loading…
Reference in New Issue
Block a user