Skip to content

Commit

Permalink
Hotfix: fixed support for update13
Browse files Browse the repository at this point in the history
This is a temporary solution since this breaks support of previous game version
  • Loading branch information
adm244 committed Dec 25, 2022
1 parent f2fc4dd commit bd7f43d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions code/game/pointers.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,22 @@ OTHER DEALINGS IN THE SOFTWARE.
#define STDCALL_FUNCTION(func) CDECL_FUNCTION(func)

//------------- Dishonored.h --------------//
DEFINE_STATIC_POINTER(playerPawn, 0x01452DE8);
DEFINE_STATIC_POINTER(playerPawn, 0x0145f628);

DEFINE_STATIC_POINTER(Attribute_HealthMax_ID, 0x01451774);
DEFINE_STATIC_POINTER(Attribute_HealthRegenAmount_ID, 0x01451784);
DEFINE_STATIC_POINTER(Attribute_HealthRegenInitialDelay_ID, 0x0145178C);
DEFINE_STATIC_POINTER(Attribute_HealthRegenLimit_ID, 0x01451794);
DEFINE_STATIC_POINTER(Attribute_HealthRegenRate_ID, 0x0145179C);
DEFINE_STATIC_POINTER(Attribute_HealthMax_ID, 0x0145dfb0);
DEFINE_STATIC_POINTER(Attribute_HealthRegenAmount_ID, 0x0145dfc0);
DEFINE_STATIC_POINTER(Attribute_HealthRegenInitialDelay_ID, 0x0145dfc8);
DEFINE_STATIC_POINTER(Attribute_HealthRegenLimit_ID, 0x0145dfd0);
DEFINE_STATIC_POINTER(Attribute_HealthRegenRate_ID, 0x0145dfd8);

DEFINE_STATIC_POINTER(Attribute_ManaMax_ID, 0x014517E4);
DEFINE_STATIC_POINTER(Attribute_ManaRegenAmount_ID, 0x014517F4);
DEFINE_STATIC_POINTER(Attribute_ManaRegenInitialDelay_ID, 0x014517FC);
DEFINE_STATIC_POINTER(Attribute_ManaRegenAdditivePortion_ID, 0x01451804);
DEFINE_STATIC_POINTER(Attribute_ManaRegenStepTime_ID, 0x0145180C);
DEFINE_STATIC_POINTER(Attribute_ManaMax_ID, 0x0145e020);
DEFINE_STATIC_POINTER(Attribute_ManaRegenAmount_ID, 0x0145e030);
DEFINE_STATIC_POINTER(Attribute_ManaRegenInitialDelay_ID, 0x0145e038);
DEFINE_STATIC_POINTER(Attribute_ManaRegenAdditivePortion_ID, 0x0145e040);
DEFINE_STATIC_POINTER(Attribute_ManaRegenStepTime_ID, 0x0145e048);

//------------- FullRegen.cpp -------------//
DEFINE_STATIC_POINTER(detour_disattributesentry_init, 0x00C88210);
DEFINE_STATIC_POINTER(hook_disattributesentry_init_ret, 0x00C88216);
DEFINE_STATIC_POINTER(detour_disattributesentry_init, 0x00c88850);
DEFINE_STATIC_POINTER(hook_disattributesentry_init_ret, 0x00c88856);

#endif

0 comments on commit bd7f43d

Please sign in to comment.