From 82d3c3b7dd9cd679a671b65abdf48159b928e83b Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 24 Jan 2010 17:14:44 -0700 Subject: Fix bank exploit --- npc/functions/banker.txt | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3-70-g09d2