From e8d51496faa60b297091650e8b4c410638c8c6b3 Mon Sep 17 00:00:00 2001 From: Starkku Date: Sun, 19 May 2024 01:19:51 +0300 Subject: [PATCH] Fix a regression in building animation tinting fix --- src/Ext/Techno/Hooks.Tint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ext/Techno/Hooks.Tint.cpp b/src/Ext/Techno/Hooks.Tint.cpp index 87739153b6..90dbe2a3fe 100644 --- a/src/Ext/Techno/Hooks.Tint.cpp +++ b/src/Ext/Techno/Hooks.Tint.cpp @@ -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 }; @@ -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);