diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-02-02 13:28:20 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-02-02 13:28:20 +0000 |
commit | e492b188a488a36219a60263af756a8857957da6 (patch) | |
tree | 63053303c3c727bf906f37ad43dfbc4761adf0fe /npc/functions | |
parent | dc245e0bac478710c688901de17b96ec53066fee (diff) | |
download | serverdata-e492b188a488a36219a60263af756a8857957da6.tar.gz serverdata-e492b188a488a36219a60263af756a8857957da6.tar.bz2 serverdata-e492b188a488a36219a60263af756a8857957da6.tar.xz serverdata-e492b188a488a36219a60263af756a8857957da6.zip |
Fix exploit in banker function
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/banker.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/functions/banker.txt b/npc/functions/banker.txt index 00a85bab..b10806cc 100644 --- a/npc/functions/banker.txt +++ b/npc/functions/banker.txt @@ -66,6 +66,7 @@ D_All: goto L_Deposit; L_Deposit: + if (zeny < @Ammount) goto L_NoMoney; set zeny, zeny - @Amount; set BankAccount, BankAccount + @Amount; goto L_Balance; |