diff options
author | shennetsind <ind@henn.et> | 2013-07-08 14:57:53 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-07-08 14:57:53 -0300 |
commit | 4f69a9ea0f80e78da61482b2d1143a6e58859fd1 (patch) | |
tree | 74b8140fd8fd67bcc626d48366ee9237f9c3432a /src/map | |
parent | 19f0fcd80e004aeaf201112c90992f5342240f2d (diff) | |
download | hercules-4f69a9ea0f80e78da61482b2d1143a6e58859fd1.tar.gz hercules-4f69a9ea0f80e78da61482b2d1143a6e58859fd1.tar.bz2 hercules-4f69a9ea0f80e78da61482b2d1143a6e58859fd1.tar.xz hercules-4f69a9ea0f80e78da61482b2d1143a6e58859fd1.zip |
Fixed Bug #7493
Special Thanks to quesoph
http://hercules.ws/board/tracker/issue-7493-compiling-with-cygwin/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/atcommand.c | 2 | ||||
-rw-r--r-- | src/map/map.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index e8165e4a3..950961b29 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -7581,7 +7581,7 @@ return true;\ clif->message(sd->fd,msg_txt(1313)); // Type "@mapflag available" to list the available mapflags. return 1; } - for (i = 0; flag_name[i]; i++) flag_name[i] = (char)tolower(flag_name[i]); //lowercase + for (i = 0; flag_name[i]; i++) flag_name[i] = TOLOWER(flag_name[i]); //lowercase if ( strcmp( flag_name , "gvg" ) == 0 ) { if( flag && !map[sd->bl.m].flag.gvg ) diff --git a/src/map/map.c b/src/map/map.c index 3a2ca6c57..31600440d 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -5274,7 +5274,7 @@ void map_hp_symbols(void) { HPM->share(map,"map"); } -void load_defaults(void) { +void map_load_defaults(void) { atcommand_defaults(); battle_defaults(); battleground_defaults(); @@ -5408,7 +5408,7 @@ int do_init(int argc, char *argv[]) } memset(&index2mapid, -1, sizeof(index2mapid)); - load_defaults(); + map_load_defaults(); map_config_read(iMap->MAP_CONF_NAME); CREATE(map,struct map_data,iMap->map_num); iMap->map_num = 0; |