Skip to content

Commit

Permalink
fix: converted some remaining AE addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeBryssinck committed Nov 19, 2021
1 parent 01c94d2 commit dcac1f8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Code/client/Games/Animation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ bool ActorMediator::ForceAction(TESActionData* apAction) noexcept
using TApplyAnimationVariables = void* (void*, TESActionData*);

POINTER_SKYRIMSE(TApplyAnimationVariables, ApplyAnimationVariables, 0x140663650 - 0x140000000);
POINTER_SKYRIMSE(TAnimationStep, PerformComplexAction, 0x63B0F0);
POINTER_SKYRIMSE(TAnimationStep, PerformComplexAction, 0x140661390 - 0x140000000);
POINTER_SKYRIMSE(void*, qword_142F271B8, 0x142FC1C88 - 0x140000000);

POINTER_FALLOUT4(TAnimationStep, PerformComplexAction, 0x140E211A0 - 0x140000000);
Expand Down
2 changes: 1 addition & 1 deletion Code/client/Games/Skyrim/DefaultObjectManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DefaultObjectManager& DefaultObjectManager::Get()
{
using TGetDefaultObjectManager = DefaultObjectManager & ();

POINTER_SKYRIMSE(TGetDefaultObjectManager, GetDefaultObjectManager, 0x1401093A0 - 0x140000000);
POINTER_SKYRIMSE(TGetDefaultObjectManager, GetDefaultObjectManager, 0x140182100 - 0x140000000);

return GetDefaultObjectManager();
}
4 changes: 2 additions & 2 deletions Code/client/Games/Skyrim/EquipManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ EquipManager* EquipManager::Get() noexcept
void* EquipManager::EquipSpell(Actor* apActor, TESForm* apSpell, uint32_t aSlotId)
{
TP_THIS_FUNCTION(TEquipSpellInternal, void*, EquipManager, Actor*, TESForm*, uint32_t);
POINTER_SKYRIMSE(TEquipSpellInternal, s_equipFunc, 0x140977070 - 0x140000000);
POINTER_SKYRIMSE(TEquipSpellInternal, s_equipFunc, 0x14065D960 - 0x140000000);

ScopedEquipOverride equipOverride;

Expand All @@ -76,7 +76,7 @@ void* EquipManager::EquipSpell(Actor* apActor, TESForm* apSpell, uint32_t aSlotI
void* EquipManager::UnEquipSpell(Actor* apActor, TESForm* apSpell, uint32_t aSlotId)
{
TP_THIS_FUNCTION(TUnEquipSpellInternal, void*, EquipManager, Actor*, TESForm*, uint32_t);
POINTER_SKYRIMSE(TUnEquipSpellInternal, s_unequipFunc, 0x14065D960 - 0x140000000);
POINTER_SKYRIMSE(TUnEquipSpellInternal, s_unequipFunc, 0x14065E1A0 - 0x140000000);

ScopedEquipOverride equipOverride;

Expand Down
2 changes: 0 additions & 2 deletions Code/client/Services/Generic/CharacterService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1366,8 +1366,6 @@ void CharacterService::OnNotifyAddTarget(const NotifyAddTarget& acMessage) const
pActor->magicTarget.AddTarget(data);
}

spdlog::error("Add target successful");

break;
}
}
Expand Down

0 comments on commit dcac1f8

Please sign in to comment.