summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/map.c b/src/map/map.c
index ebc0f403a..82a557109 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2505,10 +2505,10 @@ int map_waterheight(char* mapname)
char *rsw, *found;
//Look up for the rsw
- sprintf(fn,"data\\%s.rsw", mapname);
+ sprintf(fn, "data\\%s.rsw", mapname);
found = grfio_find_file(fn);
- if (found) strcpy(fn, found);
+ if (found) strcpy(fn, found); // replace with real name
// read & convert fn
rsw = (char *) grfio_read (fn);