diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-19 05:12:30 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-19 05:12:30 +0000 |
commit | 6de5cb578078dfafbf1da489712304f43144bd7d (patch) | |
tree | 0b311cd7242f2317fd771de21a52e066c449fc8c /npc/custom/eAAC_Scripts/disguiser.txt | |
parent | c116ea51790a6d42280cf599192614dc373cf91d (diff) | |
download | hercules-6de5cb578078dfafbf1da489712304f43144bd7d.tar.gz hercules-6de5cb578078dfafbf1da489712304f43144bd7d.tar.bz2 hercules-6de5cb578078dfafbf1da489712304f43144bd7d.tar.xz hercules-6de5cb578078dfafbf1da489712304f43144bd7d.zip |
Applied security patches. PLEASE CHECK THEM ALL.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9260 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/eAAC_Scripts/disguiser.txt')
-rw-r--r-- | npc/custom/eAAC_Scripts/disguiser.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/custom/eAAC_Scripts/disguiser.txt b/npc/custom/eAAC_Scripts/disguiser.txt index 218de0196..ce5978d95 100644 --- a/npc/custom/eAAC_Scripts/disguiser.txt +++ b/npc/custom/eAAC_Scripts/disguiser.txt @@ -164,6 +164,9 @@ function script PXC_DoMenu { //Fire our menu
set @menu, select($@menu$);
+ if(@menu > getarg(1) || @menu < 1)
+ end;
+
//Zero deliminated (off-by-one errors sux0r!!!)
set @menu, @menu-1;
|