Skip to content

Commit

Permalink
fix OnAddPerk not working in level up menu
Browse files Browse the repository at this point in the history
  • Loading branch information
c6-dev committed Sep 26, 2021
1 parent ad8e111 commit 0c453b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions JG/events/JohnnyEvents.h
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,8 @@ void HandleEventHooks()
WriteRelCall(0x7CEC93, (UINT)handleSettingsUpdate);
WriteRelCall(0x7D11AD, (UINT)handleSettingsUpdate);
WriteRelCall(0x5D4E5B, (UINT)handleAddPerkEvent);
WriteRelCall(0x7865BD, (UINT)handleAddPerkEvent);
SafeWriteBuf(0x7865C2, "\x0F\x1F\x00", 3);
SafeWriteBuf(0x5D4E60, "\x0F\x1F\x00", 3);
WriteRelCall(0x5D4F89, (UINT)handleRemovePerkEvent);
SafeWriteBuf(0x5D4F8E, "\x0F\x1F\x00", 3);
Expand Down

0 comments on commit 0c453b3

Please sign in to comment.