diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/script.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index fe8638ac3..01245a617 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -11043,10 +11043,16 @@ static BUILDIN(killmonster) int16 m,allflag=0; mapname=script_getstr(st,2); event=script_getstr(st,3); - if(strcmp(event,"All")==0) + + if (strcmpi(event, "all") == 0) { + if (strcmp(event, "all") != 0) { + ShowWarning("buildin_killmonster: \"%s\" deprecated! Please use \"all\" instead.\n", event); + script->reportsrc(st); + } allflag = 1; - else + } else { script->check_event(st, event); + } if( (m=map->mapname2mapid(mapname))<0 ) return true; |