From aa8d147350a90f355d496ce51a1963eeeb8b7a39 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 31 Mar 2020 02:43:44 -0400 Subject: [PATCH] CAnimTreeDoubleChild: Correct call to VGetBoolPOIState() in VGetInt32POIState() Like the previous change, it's awfully suspect to be interpreting all integer values as bools. --- Runtime/Character/CAnimTreeDoubleChild.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Character/CAnimTreeDoubleChild.cpp b/Runtime/Character/CAnimTreeDoubleChild.cpp index 5c3b1e69f..2780b1b07 100644 --- a/Runtime/Character/CAnimTreeDoubleChild.cpp +++ b/Runtime/Character/CAnimTreeDoubleChild.cpp @@ -103,7 +103,7 @@ u32 CAnimTreeDoubleChild::VGetSoundPOIList(const CCharAnimTime& time, CSoundPOIN bool CAnimTreeDoubleChild::VGetBoolPOIState(const char* name) const { return x18_b->VGetBoolPOIState(name); } -s32 CAnimTreeDoubleChild::VGetInt32POIState(const char* name) const { return x18_b->VGetBoolPOIState(name); } +s32 CAnimTreeDoubleChild::VGetInt32POIState(const char* name) const { return x18_b->VGetInt32POIState(name); } CParticleData::EParentedMode CAnimTreeDoubleChild::VGetParticlePOIState(const char* name) const { return x18_b->VGetParticlePOIState(name);