Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
CrimRecya committed Jan 25, 2025
1 parent 624c400 commit 05d06c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ext/Building/Hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ DEFINE_HOOK(0x6A9789, StripClass_DrawStrip_NoGreyCameo, 0x6)
DEFINE_HOOK(0x6AA88D, StripClass_RecheckCameo_FindFactoryDehardCode, 0x6)
{
GET(TechnoTypeClass* const, pType, EBX);
LEA_STACK(BuildCat*, pBuildCat, STACK_OFFSET(0x154, -0x154));
LEA_STACK(BuildCat*, pBuildCat, STACK_OFFSET(0x158, -0x158));

if (const auto pBuildingType = abstract_cast<BuildingTypeClass*>(pType))
*pBuildCat = pBuildingType->BuildCat;
Expand Down

0 comments on commit 05d06c4

Please sign in to comment.