diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 10:22:12 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 10:22:12 +0200 |
commit | cf5db7311776c26b4c2710b142a2863e88645965 (patch) | |
tree | 9e033a80f831b1b7f5aad9461e5e40c3cb6d5843 /src/peds/PedAttractor.h | |
parent | removed duplicate code (diff) | |
download | re3-cf5db7311776c26b4c2710b142a2863e88645965.tar re3-cf5db7311776c26b4c2710b142a2863e88645965.tar.gz re3-cf5db7311776c26b4c2710b142a2863e88645965.tar.bz2 re3-cf5db7311776c26b4c2710b142a2863e88645965.tar.lz re3-cf5db7311776c26b4c2710b142a2863e88645965.tar.xz re3-cf5db7311776c26b4c2710b142a2863e88645965.tar.zst re3-cf5db7311776c26b4c2710b142a2863e88645965.zip |
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) : |