ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/bank.ext
(Generate patch)

Comparing deliantra/server/ext/bank.ext (file contents):
Revision 1.10 by elmex, Tue Mar 9 14:48:17 2010 UTC vs.
Revision 1.11 by root, Sun Jan 29 02:47:04 2017 UTC

89 return "You can not $action nothing."; 89 return "You can not $action nothing.";
90 } elsif ($pay < 0) { 90 } elsif ($pay < 0) {
91 return "You can not $action negative values."; 91 return "You can not $action negative values.";
92 } 92 }
93 93
94 # Here we handle the transactions 94 # Here we handle the transactions
95 if ($action eq "deposit") { 95 if ($action eq "deposit") {
96 if ($who->pay_amount ($pay)) { 96 if ($who->pay_amount ($pay)) {
97 $who->{bank_balance} += $pay; 97 $who->{bank_balance} += $pay;
98 return "$amount $currency received."; 98 return "$amount $currency received.";
99 } else { 99 } else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines