Merge pull request #221 from Sergeanur/FixFormat
Fix formatting mistakes
This commit is contained in:
commit
a91df9889d
@ -252,8 +252,7 @@ CPickup::Update(CPlayerPed *player, CVehicle *vehicle, int playerId)
|
|||||||
printf("All collectables have been picked up\n");
|
printf("All collectables have been picked up\n");
|
||||||
CGarages::TriggerMessage("CO_ALL", -1, 5000, -1);
|
CGarages::TriggerMessage("CO_ALL", -1, 5000, -1);
|
||||||
CWorld::Players[CWorld::PlayerInFocus].m_nMoney += 1000000;
|
CWorld::Players[CWorld::PlayerInFocus].m_nMoney += 1000000;
|
||||||
}
|
} else
|
||||||
else
|
|
||||||
CGarages::TriggerMessage("CO_ONE", CWorld::Players[CWorld::PlayerInFocus].m_nCollectedPackages, 5000, CWorld::Players[CWorld::PlayerInFocus].m_nTotalPackages);
|
CGarages::TriggerMessage("CO_ONE", CWorld::Players[CWorld::PlayerInFocus].m_nCollectedPackages, 5000, CWorld::Players[CWorld::PlayerInFocus].m_nTotalPackages);
|
||||||
|
|
||||||
Remove();
|
Remove();
|
||||||
|
@ -55,7 +55,7 @@ void
|
|||||||
CMoneyMessages::Render()
|
CMoneyMessages::Render()
|
||||||
{
|
{
|
||||||
for (int32 i = 0; i < NUMMONEYMESSAGES; i++) {
|
for (int32 i = 0; i < NUMMONEYMESSAGES; i++) {
|
||||||
if (aMoneyMessages[i].m_nTimeRegistered)
|
if (aMoneyMessages[i].m_nTimeRegistered != 0)
|
||||||
aMoneyMessages[i].Render();
|
aMoneyMessages[i].Render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user