summaryrefslogtreecommitdiff
path: root/npc/events/valentinesday.txt
diff options
context:
space:
mode:
authorKarLaeda <KarLaeda@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-12 11:16:19 +0000
committerKarLaeda <KarLaeda@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-12 11:16:19 +0000
commit9b1082f4075d45f6d484d856d49013b6eb1e515a (patch)
tree16d8e27eb5f9744afc414fb3d7797942f4b3c5ac /npc/events/valentinesday.txt
parent7203756c266a967390e417981592acc3c5879ea6 (diff)
downloadhercules-9b1082f4075d45f6d484d856d49013b6eb1e515a.tar.gz
hercules-9b1082f4075d45f6d484d856d49013b6eb1e515a.tar.bz2
hercules-9b1082f4075d45f6d484d856d49013b6eb1e515a.tar.xz
hercules-9b1082f4075d45f6d484d856d49013b6eb1e515a.zip
Fixed exploits in Valentine Event Scripts
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9646 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/events/valentinesday.txt')
-rw-r--r--npc/events/valentinesday.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/events/valentinesday.txt b/npc/events/valentinesday.txt
index 75ca8e298..5be84fcab 100644
--- a/npc/events/valentinesday.txt
+++ b/npc/events/valentinesday.txt
@@ -44,7 +44,7 @@ M_CHOCO:
next;
set @needmon,0;
input @flag_num;
- if (@flag_num == 0) goto L_NONE;
+ if (@flag_num <= 0) goto L_NONE;
if (@flag_num > 5) goto L_ERR;
set @needmon,@flag_num*5000;
if (Zeny < @needmon) goto L_NOTENO;