Minor tweak in

modified   src/map/script.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9373 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Lance 2006-12-01 04:06:18 +00:00
parent ecb547edc2
commit b59e7b8596

View File

@ -234,7 +234,7 @@ static void report_src(struct script_state *st) {
}
static void check_event(struct script_state *st, unsigned char *event){
if(event != NULL && event[0] != '\0' && !strstr(event,"::")){
if(event != NULL && event[0] != '\0' && !stristr(event,"::On")){
ShowError("NPC event parameter deprecated! Please use 'NPCNAME::OnEVENT' instead of '%s'.\n",event);
report_src(st);
}