diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-01 04:06:18 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-01 04:06:18 +0000 |
commit | 22746a0a0a9efe5fc7e84496f5780116c52f2abe (patch) | |
tree | 422f76c85f5212c1e0f4ab8d7d1780c57f0ed5c3 | |
parent | 7205757a74dfa55ec9f9faf9c7d4fd45849a1352 (diff) | |
download | hercules-22746a0a0a9efe5fc7e84496f5780116c52f2abe.tar.gz hercules-22746a0a0a9efe5fc7e84496f5780116c52f2abe.tar.bz2 hercules-22746a0a0a9efe5fc7e84496f5780116c52f2abe.tar.xz hercules-22746a0a0a9efe5fc7e84496f5780116c52f2abe.zip |
Minor tweak in
modified src/map/script.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9373 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 2d1cf68f0..79d3068eb 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -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); } |