summaryrefslogtreecommitdiff
path: root/src/resources/dye.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/dye.cpp')
-rw-r--r--src/resources/dye.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/dye.cpp b/src/resources/dye.cpp
index bfe9145bc..960ac36ae 100644
--- a/src/resources/dye.cpp
+++ b/src/resources/dye.cpp
@@ -29,7 +29,9 @@
#include "debug.h"
-DyePalette::DyePalette(const std::string &description, const int8_t blockSize)
+DyePalette::DyePalette(const std::string &description,
+ const int8_t blockSize) :
+ mColors()
{
const int size = static_cast<int>(description.length());
if (size == 0)