summaryrefslogtreecommitdiffstats
path: root/src/peds/PedAttactor.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-19 21:42:16 +0200
committeraap <aap@papnet.eu>2020-05-19 21:42:16 +0200
commitc623ec8a2dc35fefad7544fe1ce7bc1ea928da4c (patch)
tree1da104f464665cc0dd13a72b288286e541ad9f5e /src/peds/PedAttactor.cpp
parentCEntity and friends (diff)
parentMerge pull request #567 from erorcun/miami (diff)
downloadre3-c623ec8a2dc35fefad7544fe1ce7bc1ea928da4c.tar
re3-c623ec8a2dc35fefad7544fe1ce7bc1ea928da4c.tar.gz
re3-c623ec8a2dc35fefad7544fe1ce7bc1ea928da4c.tar.bz2
re3-c623ec8a2dc35fefad7544fe1ce7bc1ea928da4c.tar.lz
re3-c623ec8a2dc35fefad7544fe1ce7bc1ea928da4c.tar.xz
re3-c623ec8a2dc35fefad7544fe1ce7bc1ea928da4c.tar.zst
re3-c623ec8a2dc35fefad7544fe1ce7bc1ea928da4c.zip
Diffstat (limited to 'src/peds/PedAttactor.cpp')
-rw-r--r--src/peds/PedAttactor.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/peds/PedAttactor.cpp b/src/peds/PedAttactor.cpp
index 0df59b1c..782d2770 100644
--- a/src/peds/PedAttactor.cpp
+++ b/src/peds/PedAttactor.cpp
@@ -12,7 +12,7 @@ const int gcMaxSizeOfPizzaQueue = 5;
const int gcMaxSizeOfShelterQueue = 5;
const int gcMaxSizeOfIceCreamQueue = 1;
-//--MIAMI: file done, except TODO(MIAMI)
+//--MIAMI: file done
std::vector<CVector> CPedShelterAttractor::ms_displacements;
@@ -167,19 +167,15 @@ CPedAttractor::CPedAttractor(C2dEffect* pEffect, const CMatrix& matrix, int32 ma
void CPedPizzaAttractor::UpdatePedStateOnDeparture(CPed* pPed) const
{
- /* TODO(MIAMI): uncomment
if (pPed->m_nPedMoney > 10)
pPed->m_nPedMoney -= 10;
else
pPed->m_nPedMoney = 0;
- */
}
void CPedAtmAttractor::UpdatePedStateOnDeparture(CPed* pPed) const
{
- /* TODO(MIAMI): uncomment
pPed->m_nPedMoney += 20 * CGeneral::GetRandomNumberInRange(1, 51);
- */
};
float CPedAttractor::ComputeDeltaHeading() const