summaryrefslogtreecommitdiff
path: root/ZAPD/ZRoom/Commands/SetAnimatedMaterialList.cpp
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2021-07-27 22:06:51 -0400
committerGitHub <noreply@github.com>2021-07-27 22:06:51 -0400
commit6be9af65d39a1608ef854efbaf0bf9399aac5da1 (patch)
treed991c4843a4b07c61e8751d1ea81b44f05fd04e5 /ZAPD/ZRoom/Commands/SetAnimatedMaterialList.cpp
parent820678b4e97958d59b45597951841c129044cd45 (diff)
Fix unused enum value warning (#159)
* Fix Limb warning * another warning fixed
Diffstat (limited to 'ZAPD/ZRoom/Commands/SetAnimatedMaterialList.cpp')
-rw-r--r--ZAPD/ZRoom/Commands/SetAnimatedMaterialList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZRoom/Commands/SetAnimatedMaterialList.cpp b/ZAPD/ZRoom/Commands/SetAnimatedMaterialList.cpp
index 6bf8c8a..aeef2e8 100644
--- a/ZAPD/ZRoom/Commands/SetAnimatedMaterialList.cpp
+++ b/ZAPD/ZRoom/Commands/SetAnimatedMaterialList.cpp
@@ -281,7 +281,7 @@ std::string FlashingTexture::GenerateSourceCode(ZRoom* zRoom, uint32_t baseAddre
zRoom->parent->AddDeclarationArray(
envColorSegmentOffset, DeclarationAlignment::Align4, envColors.size() * 4,
- "Color_RGBA8",
+ "F3DEnvColor",
StringHelper::Sprintf("%sAnimatedMaterialEnvColors0x%06X", zRoom->GetName().c_str(),
envColorSegmentOffset),
envColors.size(), declaration);