mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 20:47:10 +11:00
omega symbol
This commit is contained in:
parent
0d346b820f
commit
779ab90b8f
1 changed files with 2 additions and 2 deletions
|
|
@ -191,7 +191,7 @@ BankResponse Bank::SetBal(const std::string &name, int64_t amount) noexcept
|
||||||
amount -= u.balance;
|
amount -= u.balance;
|
||||||
u.balance += amount;
|
u.balance += amount;
|
||||||
#if MAX_LOG_SIZE > 0
|
#if MAX_LOG_SIZE > 0
|
||||||
u.log.AddTrans("$", (amount > 0), amount, time(NULL));
|
u.log.AddTrans("Ω", (amount > 0), amount, time(NULL));
|
||||||
#endif
|
#endif
|
||||||
}))
|
}))
|
||||||
{
|
{
|
||||||
|
|
@ -214,7 +214,7 @@ BankResponse Bank::ImpactBal(const std::string &name, int64_t amount) noexcept
|
||||||
amount += (u.balance < (amount * -1)) * (amount + u.balance);
|
amount += (u.balance < (amount * -1)) * (amount + u.balance);
|
||||||
bal = u.balance += amount;
|
bal = u.balance += amount;
|
||||||
#if MAX_LOG_SIZE > 0
|
#if MAX_LOG_SIZE > 0
|
||||||
u.log.AddTrans("$", (amount > 0), amount, time(NULL));
|
u.log.AddTrans("Ω", (amount > 0), amount, time(NULL));
|
||||||
#endif
|
#endif
|
||||||
}))
|
}))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue