summaryrefslogtreecommitdiffstats
path: root/src/entities/Entity.cpp
diff options
context:
space:
mode:
authorsaml1er <danishroar@gmail.com>2020-04-17 02:38:05 +0200
committersaml1er <danishroar@gmail.com>2020-04-17 02:38:05 +0200
commite777f240642a6f287d08d7c536e878cae372fdfa (patch)
treec6700d662d0f5a8202f7902f7e36f73a2a99120e /src/entities/Entity.cpp
parentFix CWorld::RepositionOneObject bugs (diff)
downloadre3-e777f240642a6f287d08d7c536e878cae372fdfa.tar
re3-e777f240642a6f287d08d7c536e878cae372fdfa.tar.gz
re3-e777f240642a6f287d08d7c536e878cae372fdfa.tar.bz2
re3-e777f240642a6f287d08d7c536e878cae372fdfa.tar.lz
re3-e777f240642a6f287d08d7c536e878cae372fdfa.tar.xz
re3-e777f240642a6f287d08d7c536e878cae372fdfa.tar.zst
re3-e777f240642a6f287d08d7c536e878cae372fdfa.zip
Diffstat (limited to '')
-rw-r--r--src/entities/Entity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp
index c0da6ede..0efee4e7 100644
--- a/src/entities/Entity.cpp
+++ b/src/entities/Entity.cpp
@@ -866,7 +866,7 @@ CEntity::ModifyMatrixForBannerInWind(void)
}
void
-CEntity::AddSteamsFromGround1(CPtrList& list)
+CEntity::AddSteamsFromGround(CPtrList& list)
{
CPtrNode *pNode = list.first;
while (pNode) {
@@ -922,7 +922,7 @@ STARTPATCHES
InjectHook(0x473F60, &CEntity::DetachFromRwObject, PATCH_JUMP);
InjectHook(0x475A20, &CEntity::PreRenderForGlassWindow, PATCH_JUMP);
- InjectHook(0x50CE40, &CEntity::AddSteamsFromGround, PATCH_JUMP);
+ InjectHook(0x50CE40, (void (CEntity::*)(CVector*))& CEntity::AddSteamsFromGround, PATCH_JUMP);
InjectHook(0x475670, &CEntity::ModifyMatrixForTreeInWind, PATCH_JUMP);
InjectHook(0x475830, &CEntity::ModifyMatrixForBannerInWind, PATCH_JUMP);
InjectHook(0x4FA530, &CEntity::ProcessLightsForEntity, PATCH_JUMP);