summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-17 07:35:04 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-17 07:35:04 +0000
commite5502df6fd36e307cc50b7b6871d0aedb4606397 (patch)
treee12b84724778f4e55db32d52c4b1b95d90c006e4 /src/map/script.c
parent2d0e1821a42fcff2fa9122be88b2dd5dcdf848e1 (diff)
downloadhercules-e5502df6fd36e307cc50b7b6871d0aedb4606397.tar.gz
hercules-e5502df6fd36e307cc50b7b6871d0aedb4606397.tar.bz2
hercules-e5502df6fd36e307cc50b7b6871d0aedb4606397.tar.xz
hercules-e5502df6fd36e307cc50b7b6871d0aedb4606397.zip
- Fixed pet.c not checking log_config.enable_logs setting. [lighta]
- Updated documentation for 'showevent'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15152 54d463be-8e91-2dee-dedb-b68131a5f0ec
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);