Selaa lähdekoodia

Typo fix in map.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5859 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lance 19 vuotta sitten
vanhempi
commit
aad6982f1e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)