summaryrefslogtreecommitdiff
path: root/npc/003-3
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-3')
-rw-r--r--npc/003-3/malindou.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index 8edc01769..540f1df55 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -820,7 +820,9 @@ OnInterIfInitOnce:
OnPCLoginEvent:
// Vault override
if (#MerchantBank) {
- BankVault += max(0, #MerchantBank);
+ if (#MerchantBank < 0)
+ consolebug("Negative bank data for %s!", strcharinfo(0));
+ BankVault += #MerchantBank;
#MerchantBank = 0;
}