From 148649ceac4ced727051596a2c653c95c40a13ab Mon Sep 17 00:00:00 2001 From: akirschbaum Date: Wed, 9 Mar 2005 22:24:47 +0000 Subject: [PATCH] Fix deposit option. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3121 282e977c-c81d-0410-88c4-b93c2d0d6712 --- python/IPO/banksay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/IPO/banksay.py b/python/IPO/banksay.py index 5cfe963b9..57e303984 100644 --- a/python/IPO/banksay.py +++ b/python/IPO/banksay.py @@ -61,7 +61,7 @@ if text[0] == 'help' or text[0] == 'yes': elif text[0] == 'deposit': if len(text)==2: - if (CFPython.PayAmount(activator, (int(text[1])*exchange_rate)*fees)): + if (CFPython.PayAmount(activator, int((int(text[1])*exchange_rate)*fees))): bank.deposit(activatorname, int(text[1])) message = '%d received, %d imperials deposited to bank account. %s' \ %((int(text[1])*(exchange_rate/50))*fees,int(text[1]),random.choice(thanks_message))