Link CRealElement

This commit is contained in:
Luke Street 2022-10-18 08:59:56 -04:00
parent 9ad66e9f2d
commit b2493140d6
3 changed files with 3 additions and 3 deletions

View File

@ -603,7 +603,7 @@ LIBS = [
["Kyoto/Particles/CParticleGlobals", True],
"Kyoto/Particles/CParticleSwoosh",
"Kyoto/Particles/CParticleSwooshDataFactory",
["Kyoto/Particles/CRealElement", False],
["Kyoto/Particles/CRealElement", True],
"Kyoto/Particles/CSpawnSystemKeyframeData",
"Kyoto/Particles/CUVElement",
"Kyoto/Particles/CVectorElement",

View File

@ -542,7 +542,7 @@ KYOTO_1 :=\
$(BUILD_DIR)/src/Kyoto/Particles/CParticleGlobals.o\
$(BUILD_DIR)/asm/Kyoto/Particles/CParticleSwoosh.o\
$(BUILD_DIR)/asm/Kyoto/Particles/CParticleSwooshDataFactory.o\
$(BUILD_DIR)/asm/Kyoto/Particles/CRealElement.o\
$(BUILD_DIR)/src/Kyoto/Particles/CRealElement.o\
$(BUILD_DIR)/asm/Kyoto/Particles/CSpawnSystemKeyframeData.o\
$(BUILD_DIR)/asm/Kyoto/Particles/CUVElement.o\
$(BUILD_DIR)/asm/Kyoto/Particles/CVectorElement.o\

View File

@ -534,7 +534,7 @@ CREIntTimesReal::~CREIntTimesReal() {
bool CREIntTimesReal::GetValue(int frame, float& valOut) const {
int a = 0;
float b = 0.f;
float b = 1.f;
x8_b->GetValue(frame, b);
x4_a->GetValue(frame, a);
valOut = b * static_cast< float >(a);