Explorar o código

Typo fix in map.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5859 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lance %!s(int64=19) %!d(string=hai) anos
pai
achega
aad6982f1e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/map/map.c

+ 1 - 1
src/map/map.c

@@ -2363,7 +2363,7 @@ int map_waterheight(char *mapname) {
 	//Look up for the rsw
 	sprintf(fn,"data\\%s",mapname);
 
-	strcpy(fn,grfio_find_file(fn));
+	sprintf(fn,"data\\%s",grfio_find_file(fn));
 	
 	rsw = strstr(fn, ".");
 	if (rsw && strstr(fn, ".rsw") == NULL)