Skip to content

Commit

Permalink
Fix incorrect hook address
Browse files Browse the repository at this point in the history
  • Loading branch information
Belonit committed Nov 24, 2023
1 parent 56454e0 commit 7e032f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Misc/Observers.Visibility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ DEFINE_HOOK(0x4DEDC3, FootClass_GetImageData_Desguise, 0x6)
}

// Show real name of spy for observer
DEFINE_HOOK(0x4DEDC3, InfantryClass_FullName_Desguise, 0x6)
DEFINE_HOOK(0x51F2F3, InfantryClass_FullName_Desguise, 0x6)
{
return HouseClass::IsCurrentPlayerObserver()
? 0x51F31A
Expand Down

0 comments on commit 7e032f0

Please sign in to comment.