summaryrefslogtreecommitdiff
path: root/src/client.cpp
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/client.cpp
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/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 0dd0b7326..c36f96e2b 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -134,6 +134,8 @@
#include "resources/db/unitsdb.h"
#include "resources/db/weaponsdb.h"
+#include "resources/dye/dyepalette.h"
+
#include "resources/resourcemanager/resourcemanager.h"
#include "resources/sprite/spritereference.h"
@@ -401,6 +403,7 @@ void Client::gameInit()
ConfigManager::checkConfigVersion();
logVars();
Cpu::detect();
+ DyePalette::initFunctions();
#if defined(USE_OPENGL)
#if !defined(ANDROID) && !defined(__APPLE__) && \
!defined(__native_client__) && !defined(UNITTESTS)