Skip to content

Commit

Permalink
Fix a regression in building animation tinting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Starkku committed May 18, 2024
1 parent cbd97d9 commit e8d5149
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ext/Techno/Hooks.Tint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ DEFINE_HOOK(0x73BFBF, UnitClass_DrawAsVoxel_ICFSColor, 0x6)
return SkipGameCode;
}

DEFINE_HOOK(0x423519, AnimClass_Draw_ICFSColor, 0x6)
DEFINE_HOOK(0x42350C, AnimClass_Draw_ICFSColor, 0x7)
{
enum { SkipGameCode = 0x423525 };

Expand Down Expand Up @@ -169,7 +169,7 @@ DEFINE_HOOK(0x73C083, UnitClass_DrawAsVoxel_TintColor, 0x6)
return 0;
}

DEFINE_HOOK(0x0423420, AnimClass_Draw_ParentBuildingCheck, 0x6)
DEFINE_HOOK(0x423420, AnimClass_Draw_ParentBuildingCheck, 0x6)
{
GET(AnimClass*, pThis, ESI);
GET(BuildingClass*, pBuilding, EAX);
Expand Down

0 comments on commit e8d5149

Please sign in to comment.