diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 11:22:12 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 11:22:12 +0300 |
commit | cf5db7311776c26b4c2710b142a2863e88645965 (patch) | |
tree | 9e033a80f831b1b7f5aad9461e5e40c3cb6d5843 /src/peds/PedAttractor.h | |
parent | 03c4a979c8e2755670818882273faa26e1de3e4f (diff) |
a few fixes
Diffstat (limited to 'src/peds/PedAttractor.h')
-rw-r--r-- | src/peds/PedAttractor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/PedAttractor.h b/src/peds/PedAttractor.h index 3408be93..d2ed014e 100644 --- a/src/peds/PedAttractor.h +++ b/src/peds/PedAttractor.h @@ -152,9 +152,9 @@ public: virtual void UpdatePedStateOnDeparture(CPed* pPed) const override { /* if (pPed->m_money > 10) - pPed->m_money = 0; - else pPed->m_money -= 10; + else + pPed->m_money = 0; */ } CPedPizzaAttractor(C2dEffect* pEffect, const CMatrix& matrix, int32 maxpeds, float qdist, float waitTime, float approachTime, float unk8, float unk9, float posdisp, float headdisp) : |