summaryrefslogtreecommitdiff
path: root/npc/functions/banker.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/banker.txt')
-rw-r--r--npc/functions/banker.txt1
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;