mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-06 00:32:25 +00:00
int32 int64 explicit conversion
This commit is contained in:
parent
056f450792
commit
5fef8b7828
@ -2168,7 +2168,7 @@ void Client::AddMoneyToPP(uint64 copper, bool updateclient){
|
||||
|
||||
// Add Amount of Platinum
|
||||
tmp2 = tmp/1000;
|
||||
int32 new_val = m_pp.platinum + tmp2;
|
||||
int64 new_val = m_pp.platinum + tmp2;
|
||||
if(new_val < 0) {
|
||||
m_pp.platinum = 0;
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user