summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-10-24 18:31:18 +0200
committererorcun <erorcunerorcun@hotmail.com.tr>2020-10-24 18:31:18 +0200
commit29a2d810a78cf757846e021d19a3e970324e18d9 (patch)
tree84ff2f4bb27d7aeb9565611be8bd9322f6111af3 /src/peds
parentJoin CdStream threads to wait for them to exit (diff)
downloadre3-29a2d810a78cf757846e021d19a3e970324e18d9.tar
re3-29a2d810a78cf757846e021d19a3e970324e18d9.tar.gz
re3-29a2d810a78cf757846e021d19a3e970324e18d9.tar.bz2
re3-29a2d810a78cf757846e021d19a3e970324e18d9.tar.lz
re3-29a2d810a78cf757846e021d19a3e970324e18d9.tar.xz
re3-29a2d810a78cf757846e021d19a3e970324e18d9.tar.zst
re3-29a2d810a78cf757846e021d19a3e970324e18d9.zip
Diffstat (limited to 'src/peds')
-rw-r--r--src/peds/Population.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/peds/Population.cpp b/src/peds/Population.cpp
index d52c8c7c..7314080b 100644
--- a/src/peds/Population.cpp
+++ b/src/peds/Population.cpp
@@ -767,13 +767,13 @@ CPopulation::AddToPopulation(float minDist, float maxDist, float minDistOffScree
CVector toyPos(newPed->GetPosition());
float waterLevel;
if (CWaterLevel::GetGroundLevel(toyPos, &waterLevel, nil, 30.0f)) {
- toyPos.z = 0.004f + waterLevel;
- CEntity *toy = CWaterLevel::CreateBeachToy(toyPos, BEACHTOY_11);
+ toyPos.z = 0.04f + waterLevel;
+ CEntity *toy = CWaterLevel::CreateBeachToy(toyPos, BEACHTOY_ANY_TOWEL);
if (toy)
toy->SetHeading(heading);
if (!(CGeneral::GetRandomNumber() & 3)) {
- CWaterLevel::CreateBeachToy(toyPos + CVector(CGeneral::GetRandomNumberInRange(-2.f, 2.f), CGeneral::GetRandomNumberInRange(-2.f, 2.f), 0.f), BEACHTOY_6);
+ CWaterLevel::CreateBeachToy(toyPos + CVector(CGeneral::GetRandomNumberInRange(-2.f, 2.f), CGeneral::GetRandomNumberInRange(-2.f, 2.f), 0.f), BEACHTOY_LOTION);
}
}
} else {
@@ -1793,4 +1793,4 @@ CPopulation::PlaceMallPedsAsStationaryGroup(CVector const& coors, int32 group)
}
}
}
-} \ No newline at end of file
+}