summaryrefslogtreecommitdiff
path: root/src/resources/dye/dye.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/dye/dye.h')
-rw-r--r--src/resources/dye/dye.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/resources/dye/dye.h b/src/resources/dye/dye.h
index c359c9b24..442721c6a 100644
--- a/src/resources/dye/dye.h
+++ b/src/resources/dye/dye.h
@@ -31,8 +31,8 @@
class DyePalette;
const int dyePalateSize = 9;
-const int sPaleteIndex = 7;
-const int aPaleteIndex = 8;
+const int sPaletteIndex = 7;
+const int aPaletteIndex = 8;
/**
* Class for dispatching pixel-recoloring amongst several palettes.
@@ -62,16 +62,16 @@ class Dye final
const std::string &restrict palettes);
/**
- * Return special dye palete (S)
+ * Return special dye palette (S)
*/
- const DyePalette *getSPalete() const restrict2 noexcept2 A_WARN_UNUSED
- { return mDyePalettes[sPaleteIndex]; }
+ const DyePalette *getSPalette() const restrict2 noexcept2 A_WARN_UNUSED
+ { return mDyePalettes[sPaletteIndex]; }
/**
- * Return special dye palete (A)
+ * Return special dye palette (A)
*/
- const DyePalette *getAPalete() const restrict2 noexcept2 A_WARN_UNUSED
- { return mDyePalettes[aPaleteIndex]; }
+ const DyePalette *getAPalette() const restrict2 noexcept2 A_WARN_UNUSED
+ { return mDyePalettes[aPaletteIndex]; }
/**
* Return dye type for S - 1, for A - 2, 0 for other