diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-01-24 17:14:44 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-01-24 17:14:44 -0700 |
commit | 82d3c3b7dd9cd679a671b65abdf48159b928e83b (patch) | |
tree | e7b6de1e14c120af301feea02ba5e8fb106f9d26 /npc/functions/banker.txt | |
parent | a763c59735d2b4b0a5322cbb8a45d3d5304b62da (diff) | |
download | serverdata-82d3c3b7dd9cd679a671b65abdf48159b928e83b.tar.gz serverdata-82d3c3b7dd9cd679a671b65abdf48159b928e83b.tar.bz2 serverdata-82d3c3b7dd9cd679a671b65abdf48159b928e83b.tar.xz serverdata-82d3c3b7dd9cd679a671b65abdf48159b928e83b.zip |
Fix bank exploit
Diffstat (limited to 'npc/functions/banker.txt')
-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 62408cd6..32c380b6 100644 --- a/npc/functions/banker.txt +++ b/npc/functions/banker.txt @@ -28,6 +28,7 @@ L_With: next; input @Amount; + if (#BankAccount < @Amount) goto L_NoMoney; set zeny, zeny + @Amount; set #BankAccount, #BankAccount - @Amount; goto L_Balance; |