summaryrefslogtreecommitdiffstats
path: root/src/render/Particle.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-05-30 23:55:48 +0200
committerGitHub <noreply@github.com>2019-05-30 23:55:48 +0200
commita991c99b3a4537c082177c690f4b75001787f913 (patch)
treeff4354c0a3056af8f580356787982021edf62963 /src/render/Particle.cpp
parentadded CText (diff)
parentfixed CParticle crash && RandTable (diff)
downloadre3-a991c99b3a4537c082177c690f4b75001787f913.tar
re3-a991c99b3a4537c082177c690f4b75001787f913.tar.gz
re3-a991c99b3a4537c082177c690f4b75001787f913.tar.bz2
re3-a991c99b3a4537c082177c690f4b75001787f913.tar.lz
re3-a991c99b3a4537c082177c690f4b75001787f913.tar.xz
re3-a991c99b3a4537c082177c690f4b75001787f913.tar.zst
re3-a991c99b3a4537c082177c690f4b75001787f913.zip
Diffstat (limited to '')
-rw-r--r--src/render/Particle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/render/Particle.cpp b/src/render/Particle.cpp
index bd4f7696..03ff6bb2 100644
--- a/src/render/Particle.cpp
+++ b/src/render/Particle.cpp
@@ -210,7 +210,7 @@ RwTexture * (&gpRainDropTex)[MAX_RAINDROP_FILES] = *(RwTexture * (*)[MAX_RA
RwRaster *gpRainDropRaster[MAX_RAINDROP_FILES];
//Float CParticle::ms_afRandTable[CParticle::RAND_TABLE_SIZE]; //
-Float (&CParticle::ms_afRandTable)[CParticle::RAND_TABLE_SIZE] = *(Float (*)[CParticle::RAND_TABLE_SIZE])*(int *)0x6E9878;
+Float (&CParticle::ms_afRandTable)[CParticle::RAND_TABLE_SIZE] = *(Float (*)[CParticle::RAND_TABLE_SIZE])*(int *)0x6E98C8;
CParticle *CParticle::m_pUnusedListHead;
@@ -1853,7 +1853,6 @@ void CParticle::AddYardieDoorSmoke(CVector const &vecPos, CMatrix const &matMatr
}
STARTPATCHES
-return; // causes crash, out temporarily
//InjectHook(0x50C410, &CParticle::ctor, PATCH_JUMP);
//InjectHook(0x50C420, &CParticle::dtor, PATCH_JUMP);
InjectHook(0x50C430, CParticle::ReloadConfig, PATCH_JUMP);