Skip to content

Commit 4e5b6a6

Browse files
committed
Fixup to issues from merging
1 parent f4c9107 commit 4e5b6a6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Ext/Anim/Hooks.AnimCreateUnit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
DEFINE_HOOK(0x737F6D, UnitClass_TakeDamage_Destroy, 0x7)
1616
{
1717
GET(UnitClass* const, pThis, ESI);
18-
REF_STACK(args_ReceiveDamage const, Receivedamageargs, STACK_OFFSET(0x44, 0x4));
18+
REF_STACK(args_ReceiveDamage const, receiveDamageArgs, STACK_OFFSET(0x44, 0x4));
1919

2020
R->ECX(R->ESI());
2121
TechnoExt::ExtMap.Find(pThis)->ReceiveDamage = true;

src/Ext/Anim/Hooks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ DEFINE_HOOK(0x42453E, AnimClass_AI_Damage, 0x6)
130130

131131
if (pTypeExt->Weapon)
132132
{
133-
WeaponTypeExt::DetonateAt(pTypeExt->Weapon, pThis->GetCoords(), pInvoker, appliedDamage, pOwner, pOwnerObject);
133+
WeaponTypeExt::DetonateAt(pTypeExt->Weapon, pThis->GetCoords(), pInvoker, appliedDamage, pOwner, pThis->OwnerObject);
134134
}
135135
else
136136
{

0 commit comments

Comments
 (0)