Skip to content

Commit ff122ee

Browse files
committed
Add address for G2EmulationInstanceQueryAnimation in TR8
1 parent 4284795 commit ff122ee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/instance/Animation.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ void G2EmulationInstanceSetMode(Instance* instance, int CurrentSection, int Mode
1717

1818
int G2EmulationInstanceQueryAnimation(Instance* instance, int CurrentSection)
1919
{
20-
// TODO Underworld
21-
auto addr = GET_ADDRESS(0x4DEE50, 0x4DE8B0, 0x000000);
20+
auto addr = GET_ADDRESS(0x4DEE50, 0x4DE8B0, 0x5B1FC0);
2221

2322
return Hooking::CallReturn<int>(addr, instance, CurrentSection);
2423
}

0 commit comments

Comments
 (0)