From 03c0a8a5f656d1872890dc03f4f9224600e1beb5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 31 Mar 2020 02:06:54 -0400 Subject: [PATCH] CAnimTreeAnimReaderContainer: Correct call to VGetBoolPOIState() within VGetInt32POIState() It seems quite suspect to read all integral values as bools. --- Runtime/Character/CAnimTreeAnimReaderContainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Character/CAnimTreeAnimReaderContainer.cpp b/Runtime/Character/CAnimTreeAnimReaderContainer.cpp index a7105b6ab..d624dcda5 100644 --- a/Runtime/Character/CAnimTreeAnimReaderContainer.cpp +++ b/Runtime/Character/CAnimTreeAnimReaderContainer.cpp @@ -63,7 +63,7 @@ bool CAnimTreeAnimReaderContainer::VGetBoolPOIState(const char* name) const { } s32 CAnimTreeAnimReaderContainer::VGetInt32POIState(const char* name) const { - return x14_reader->VGetBoolPOIState(name); + return x14_reader->VGetInt32POIState(name); } CParticleData::EParentedMode CAnimTreeAnimReaderContainer::VGetParticlePOIState(const char* name) const {