Decompile fn_11710 (UIBank_NewWnd::AdjustAmount)
Batch #17587 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_11710 UIBank_NewWnd::AdjustAmount: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
fc22dcebad
commit
8dc3622b1c
1 changed files with 2 additions and 1 deletions
|
|
@ -472,7 +472,8 @@ long long UIBank_NewWnd::AdjustAmount(int amount) {
|
|||
} else if (!this->IsNumeric(text)) {
|
||||
result = amount;
|
||||
} else {
|
||||
result = amount + _atoi64(text.c_str());
|
||||
const long long value = _atoi64(text.c_str());
|
||||
result = amount + value;
|
||||
}
|
||||
if (result > 0x7FFFFFFF) {
|
||||
result = 0x7FFFFFFF;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue