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:
parent
ecb547edc2
commit
b59e7b8596
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user