summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index cdd8c6542..b21f46a64 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -15080,7 +15080,7 @@ BUILDIN_FUNC(showevent)
state = script_getnum(st, 2);
color = script_getnum(st, 3);
- if( color < 0 || color > 4 )
+ if( color < 0 || color > 3 )
color = 0; // set default color
clif_quest_show_event(sd, &nd->bl, state, color);