summaryrefslogtreecommitdiffstats
path: root/src/core/Fire.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-29 13:56:06 +0200
committerSergeanur <s.anureev@yandex.ua>2020-07-29 13:56:06 +0200
commit581cb5edfa39a263bcbcdf3e37c608a5c7758849 (patch)
tree2b25ac08ac733d3a72bd52dfbdd3028c60ce4c37 /src/core/Fire.cpp
parentsynch fakerw with reVC; update librw (diff)
downloadre3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.tar
re3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.tar.gz
re3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.tar.bz2
re3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.tar.lz
re3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.tar.xz
re3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.tar.zst
re3-581cb5edfa39a263bcbcdf3e37c608a5c7758849.zip
Diffstat (limited to 'src/core/Fire.cpp')
-rw-r--r--src/core/Fire.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/Fire.cpp b/src/core/Fire.cpp
index 933c73da..c6dece6a 100644
--- a/src/core/Fire.cpp
+++ b/src/core/Fire.cpp
@@ -128,11 +128,8 @@ CFire::ProcessFire(void)
lightpos.z = m_vecPos.z + 5.0f;
if (!m_pEntity) {
- CShadows::StoreStaticShadow((uintptr)this, SHADOWTYPE_ADDITIVE, gpShadowExplosionTex, &lightpos,
- 7.0f, 0.0f, 0.0f, -7.0f,
- 255, // this is 0 on PC which results in no shadow
- nRandNumber / 2, nRandNumber / 2, 0,
- 10.0f, 1.0f, 40.0f, 0, 0.0f);
+ CShadows::StoreStaticShadow((uintptr)this, SHADOWTYPE_ADDITIVE, gpShadowExplosionTex, &lightpos, 7.0f, 0.0f, 0.0f, -7.0f, 0, nRandNumber / 2,
+ nRandNumber / 2, 0, 10.0f, 1.0f, 40.0f, 0, 0.0f);
}
fGreen = nRandNumber / 128;
fRed = nRandNumber / 128;