summaryrefslogtreecommitdiffstats
path: root/src/entities
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
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
-rw-r--r--src/entities/Entity.h2
2 files changed, 3 insertions, 3 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);
diff --git a/src/entities/Entity.h b/src/entities/Entity.h
index 15333162..dadeee54 100644
--- a/src/entities/Entity.h
+++ b/src/entities/Entity.h
@@ -154,6 +154,6 @@ public:
void ModifyMatrixForBannerInWind(void);
void ProcessLightsForEntity(void);
- static void AddSteamsFromGround1(CPtrList& list);
+ static void AddSteamsFromGround(CPtrList& list);
};
static_assert(sizeof(CEntity) == 0x64, "CEntity: error");