mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- Blood: Fix handling of QAVs defined as loopable while interpolating.
This commit is contained in:
parent
252a2387af
commit
62e1fdf709
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ extern void (*qavClientCallback[])(int, void *);
|
|||
|
||||
enum
|
||||
{
|
||||
kQAVIsLoopable,
|
||||
kQAVIsLoopable = 1 << 0,
|
||||
};
|
||||
|
||||
static TMap<FString, QAVPrevTileFinder> 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<int, TArray<int>>& 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)
|
||||
|
|
Loading…
Reference in a new issue