Sfoglia il codice sorgente

Follow up to 88aaa9b

Fixes #1857
Thanks to @srhmike
Lemongrass3110 8 anni fa
parent
commit
14b79eafcb
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/map/map.c

+ 1 - 0
src/map/map.c

@@ -2220,6 +2220,7 @@ struct map_session_data * map_nick2sd(const char *nick, bool allow_partial)
 		else if( strcasecmp(sd->status.name, nick) == 0 )
 		{// exact search only
 			found_sd = sd;
+			qty = 1;
 			break;
 		}
 	}