summaryrefslogtreecommitdiff
path: root/src/entities/Entity.cpp
diff options
context:
space:
mode:
authorsaml1er <danishroar@gmail.com>2020-04-17 05:38:05 +0500
committersaml1er <danishroar@gmail.com>2020-04-17 05:38:05 +0500
commite777f240642a6f287d08d7c536e878cae372fdfa (patch)
treec6700d662d0f5a8202f7902f7e36f73a2a99120e /src/entities/Entity.cpp
parent03247ce98f9f6b9f09861e50c8903ec6221e42fa (diff)
More CWorld fixes
Diffstat (limited to 'src/entities/Entity.cpp')
-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);