summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-03-14 01:25:13 +0100
committerHaru <haru@dotalux.com>2016-07-12 20:58:44 +0200
commit5196ad065674b65b030d30793b611823e18f0560 (patch)
treee8d21f22ce9ea0320c593c97ac26bf172be2b2fb /src/map
parent92226422121a7f834fd69b0e67d41e144b2cefea (diff)
downloadhercules-5196ad065674b65b030d30793b611823e18f0560.tar.gz
hercules-5196ad065674b65b030d30793b611823e18f0560.tar.bz2
hercules-5196ad065674b65b030d30793b611823e18f0560.tar.xz
hercules-5196ad065674b65b030d30793b611823e18f0560.zip
Various changes to the grfio interface
Mostly stylistic changes. Cleaned up documentation. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/map.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 491f6fb59..c5ea7c1f3 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -3579,7 +3579,8 @@ void map_flags_init(void) {
int map_waterheight(char* mapname)
{
char fn[256];
- char *rsw, *found;
+ char *rsw = NULL;
+ const char *found;
nullpo_retr(NO_WATER, mapname);
//Look up for the rsw