From 62e1fdf709754e9fb9866fd80b4a47274451078f Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Mon, 23 Aug 2021 12:05:13 +1000 Subject: [PATCH] - Blood: Fix handling of QAVs defined as loopable while interpolating. --- source/games/blood/src/qav.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/blood/src/qav.cpp b/source/games/blood/src/qav.cpp index bc0810605..33c8d1750 100644 --- a/source/games/blood/src/qav.cpp +++ b/source/games/blood/src/qav.cpp @@ -42,7 +42,7 @@ extern void (*qavClientCallback[])(int, void *); enum { - kQAVIsLoopable, + kQAVIsLoopable = 1 << 0, }; static TMap qavPrevTileFinders; @@ -92,7 +92,7 @@ bool GameInterface::IsQAVInterpTypeValid(const FString& type) void GameInterface::AddQAVInterpProps(const int& res_id, const FString& interptype, const bool& loopable, const TMap>& ignoredata) { - qavInterpProps.Insert(res_id, { loopable << kQAVIsLoopable, qavGetInterpType(interptype), ignoredata }); + qavInterpProps.Insert(res_id, { loopable ? kQAVIsLoopable : 0, qavGetInterpType(interptype), ignoredata }); } void GameInterface::RemoveQAVInterpProps(const int& res_id)