diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-24 22:58:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-24 23:37:03 +0300 |
commit | 3480f3ad939e2ae5d0191ed739a57e834658c32e (patch) | |
tree | 268acbda26a8a4e4849362f681e95ed8b4a6de16 /src/client.cpp | |
parent | c3699037bc32dd43ae1b5501261808eb3425697c (diff) | |
download | plus-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.cpp | 3 |
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) |