From e492b188a488a36219a60263af756a8857957da6 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Mon, 2 Feb 2009 13:28:20 +0000 Subject: Fix exploit in banker function --- npc/functions/banker.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'npc') 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; -- cgit v1.2.3-70-g09d2