소스 검색

Follow up to 88aaa9b

Fixes #1857
Thanks to @srhmike
Lemongrass3110 8 년 전
부모
커밋
14b79eafcb
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;
 		}
 	}