summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-10-31 14:33:49 +0100
committeraap <aap@papnet.eu>2020-10-31 14:33:49 +0100
commitea5b86774d23695f2638b51e2ead9621ddadbf82 (patch)
tree0812de29452b8a9d37fe5ded37a1815403aeabf6 /src/peds
parentDisable loading screen (diff)
downloadre3-ea5b86774d23695f2638b51e2ead9621ddadbf82.tar
re3-ea5b86774d23695f2638b51e2ead9621ddadbf82.tar.gz
re3-ea5b86774d23695f2638b51e2ead9621ddadbf82.tar.bz2
re3-ea5b86774d23695f2638b51e2ead9621ddadbf82.tar.lz
re3-ea5b86774d23695f2638b51e2ead9621ddadbf82.tar.xz
re3-ea5b86774d23695f2638b51e2ead9621ddadbf82.tar.zst
re3-ea5b86774d23695f2638b51e2ead9621ddadbf82.zip
Diffstat (limited to 'src/peds')
-rw-r--r--src/peds/Ped.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 82298e74..0193be4f 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -2524,7 +2524,7 @@ CPed::PlayFootSteps(void)
CShadows::AddPermanentShadow(SHADOWTYPE_DARK, gpBloodPoolTex, &adjustedFootPos,
top.x, top.y,
right.x, right.y,
- 255, 255, 0, 0, 4.0f, 3000.0f, 1.0f);
+ 255, 255, 0, 0, 4.0f, 3000, 1.0f);
if (m_bloodyFootprintCountOrDeathTime <= 20) {
m_bloodyFootprintCountOrDeathTime = 0;
@@ -2537,10 +2537,10 @@ CPed::PlayFootSteps(void)
CVector2D top(forward * -0.26f);
CVector2D right(GetRight() * (stepPart == 1 ? 0.1f : 0.14f));
- CShadows::AddPermanentShadow(SHADOWTYPE_DARK, gpBloodPoolTex, &adjustedFootPos,
+ CShadows::AddPermanentShadow(SHADOWTYPE_DARK, gpShadowPedTex, &adjustedFootPos,
top.x, top.y,
right.x, right.y,
- 120, 250, 250, 50, 4.0f, 5000.0f, 1.0f);
+ 120, 250, 250, 50, 4.0f, 5000, 1.0f);
}
if (CWeather::Rain <= 0.1f || CCullZones::CamNoRain() || CCullZones::PlayerNoRain()) {
if (IsPlayer())
@@ -2569,7 +2569,7 @@ CPed::PlayFootSteps(void)
CShadows::AddPermanentShadow(SHADOWTYPE_DARK, gpBloodPoolTex, &adjustedFootPosL,
top.x, top.y,
right.x, right.y,
- 255, 255, 0, 0, 4.0f, 3000.0f, 1.0f);
+ 255, 255, 0, 0, 4.0f, 3000, 1.0f);
if (m_bloodyFootprintCountOrDeathTime <= 20) {
m_bloodyFootprintCountOrDeathTime = 0;
@@ -2584,10 +2584,10 @@ CPed::PlayFootSteps(void)
CVector2D top(forward * -0.26f);
CVector2D right(GetRight() * 0.14f);
- CShadows::AddPermanentShadow(SHADOWTYPE_DARK, gpBloodPoolTex, &adjustedFootPosL,
+ CShadows::AddPermanentShadow(SHADOWTYPE_DARK, gpShadowPedTex, &adjustedFootPosL,
top.x, top.y,
right.x, right.y,
- 120, 250, 250, 50, 4.0f, 5000.0f, 1.0f);
+ 120, 250, 250, 50, 4.0f, 5000, 1.0f);
}
}
if(!footPosRok)
@@ -2604,7 +2604,7 @@ CPed::PlayFootSteps(void)
CShadows::AddPermanentShadow(SHADOWTYPE_DARK, gpBloodPoolTex, &adjustedFootPosR,
top.x, top.y,
right.x, right.y,
- 255, 255, 0, 0, 4.0f, 3000.0f, 1.0f);
+ 255, 255, 0, 0, 4.0f, 3000, 1.0f);
if (m_bloodyFootprintCountOrDeathTime <= 20) {
m_bloodyFootprintCountOrDeathTime = 0;
@@ -2618,10 +2618,10 @@ CPed::PlayFootSteps(void)
CVector2D top(forward * -0.26f);
CVector2D right(GetRight() * 0.14f);
- CShadows::AddPermanentShadow(SHADOWTYPE_DARK, gpBloodPoolTex, &adjustedFootPosR,
+ CShadows::AddPermanentShadow(SHADOWTYPE_DARK, gpShadowPedTex, &adjustedFootPosR,
top.x, top.y,
right.x, right.y,
- 120, 250, 250, 50, 4.0f, 5000.0f, 1.0f);
+ 120, 250, 250, 50, 4.0f, 5000, 1.0f);
}
}
}