summaryrefslogtreecommitdiffstats
path: root/src/peds/PedAttractor.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/peds/PedAttractor.h4
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) :