summaryrefslogtreecommitdiff
path: root/src/dyetool
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-24 22:58:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-24 23:37:03 +0300
commit3480f3ad939e2ae5d0191ed739a57e834658c32e (patch)
tree268acbda26a8a4e4849362f681e95ed8b4a6de16 /src/dyetool
parentc3699037bc32dd43ae1b5501261808eb3425697c (diff)
downloadplus-3480f3ad939e2ae5d0191ed739a57e834658c32e.tar.gz
plus-3480f3ad939e2ae5d0191ed739a57e834658c32e.tar.bz2
plus-3480f3ad939e2ae5d0191ed739a57e834658c32e.tar.xz
plus-3480f3ad939e2ae5d0191ed739a57e834658c32e.zip
Switch in replaceSColor into using custom despatcher.
Diffstat (limited to 'src/dyetool')
-rw-r--r--src/dyetool/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp
index b7ac6ac4b..0677e2b19 100644
--- a/src/dyetool/client.cpp
+++ b/src/dyetool/client.cpp
@@ -53,6 +53,8 @@
#include "resources/imagehelper.h"
+#include "resources/dye/dyepalette.h"
+
#include "resources/resourcemanager/resourcemanager.h"
#include "utils/cpu.h"
@@ -249,6 +251,7 @@ void Client::gameInit()
ConfigManager::checkConfigVersion();
logVars();
Cpu::detect();
+ DyePalette::initFunctions();
#if defined(USE_OPENGL)
#if !defined(ANDROID) && !defined(__APPLE__) && !defined(__native_client__)
if (!settings.options.safeMode && settings.options.test.empty()