diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-03 22:35:09 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-03 22:38:21 +0200 |
commit | 47e6cbe65e1715d11d81cbe3dc85b01f894e70c1 (patch) | |
tree | 6ed22776f5a8fb85479baff3673de26b6e74f68a /src/control/Pickups.cpp | |
parent | Merge pull request #220 from Sergeanur/Pickups (diff) | |
download | re3-47e6cbe65e1715d11d81cbe3dc85b01f894e70c1.tar re3-47e6cbe65e1715d11d81cbe3dc85b01f894e70c1.tar.gz re3-47e6cbe65e1715d11d81cbe3dc85b01f894e70c1.tar.bz2 re3-47e6cbe65e1715d11d81cbe3dc85b01f894e70c1.tar.lz re3-47e6cbe65e1715d11d81cbe3dc85b01f894e70c1.tar.xz re3-47e6cbe65e1715d11d81cbe3dc85b01f894e70c1.tar.zst re3-47e6cbe65e1715d11d81cbe3dc85b01f894e70c1.zip |
Diffstat (limited to 'src/control/Pickups.cpp')
-rw-r--r-- | src/control/Pickups.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp index 1eb096a2..2d112592 100644 --- a/src/control/Pickups.cpp +++ b/src/control/Pickups.cpp @@ -252,8 +252,7 @@ CPickup::Update(CPlayerPed *player, CVehicle *vehicle, int playerId) printf("All collectables have been picked up\n");
CGarages::TriggerMessage("CO_ALL", -1, 5000, -1);
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);
Remove();
|