mirror of
https://github.com/Squareville/TestEventServer.git
synced 2026-01-05 16:32:26 -06:00
Changed variable names
Changed variable names to more accurately match what they are
This commit is contained in:
@@ -567,7 +567,7 @@ const NiPoint3& Character::GetRespawnPoint(LWOMAPID map) const
|
||||
return pair->second;
|
||||
}
|
||||
|
||||
void Character::SetCoins(int64_t newCoins, int lootType) {
|
||||
void Character::SetCoins(int64_t newCoins, int coinSource) {
|
||||
if (newCoins < 0)
|
||||
{
|
||||
newCoins = 0;
|
||||
@@ -575,7 +575,7 @@ void Character::SetCoins(int64_t newCoins, int lootType) {
|
||||
|
||||
m_Coins = newCoins;
|
||||
|
||||
GameMessages::SendSetCurrency(EntityManager::Instance()->GetEntity(m_ObjectID), m_Coins, 0, 0, 0, 0, true, lootType);
|
||||
GameMessages::SendSetCurrency(EntityManager::Instance()->GetEntity(m_ObjectID), m_Coins, 0, 0, 0, 0, true, coinSource);
|
||||
}
|
||||
|
||||
bool Character::HasBeenToWorld(LWOMAPID mapID) const
|
||||
|
||||
Reference in New Issue
Block a user