summaryrefslogtreecommitdiff
path: root/src/resources/dye/dye.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/dye/dye.cpp')
-rw-r--r--src/resources/dye/dye.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/dye/dye.cpp b/src/resources/dye/dye.cpp
index ff40545fc..a72bf8419 100644
--- a/src/resources/dye/dye.cpp
+++ b/src/resources/dye/dye.cpp
@@ -148,9 +148,9 @@ void Dye::instantiate(std::string &restrict target,
int Dye::getType() const restrict2 noexcept2
{
- if (mDyePalettes[sPaleteIndex] != nullptr)
+ if (mDyePalettes[sPaletteIndex] != nullptr)
return 1;
- if (mDyePalettes[aPaleteIndex] != nullptr)
+ if (mDyePalettes[aPaletteIndex] != nullptr)
return 2;
return 0;
}