summaryrefslogtreecommitdiff
path: root/src/map/channel.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-06-02 02:31:46 +0200
committerHaru <haru@dotalux.com>2015-06-02 02:31:46 +0200
commit517d94e322185ae62ffbc3f3ba55ea6846bfe684 (patch)
tree362f346bf710808a9b6367b8375b2505a065f2e4 /src/map/channel.c
parent60e499282e124cd8978a32bb84d4b394811f29dc (diff)
downloadhercules-517d94e322185ae62ffbc3f3ba55ea6846bfe684.tar.gz
hercules-517d94e322185ae62ffbc3f3ba55ea6846bfe684.tar.bz2
hercules-517d94e322185ae62ffbc3f3ba55ea6846bfe684.tar.xz
hercules-517d94e322185ae62ffbc3f3ba55ea6846bfe684.zip
Follow-up to 544a75b
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/channel.c')
-rw-r--r--src/map/channel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/map/channel.c b/src/map/channel.c
index 7b9dce4ea..f7ab978a6 100644
--- a/src/map/channel.c
+++ b/src/map/channel.c
@@ -693,7 +693,6 @@ void read_channels_config(void)
safestrncpy(channel->config->colors_name[i], config_setting_name(color), HCS_NAME_LENGTH);
channel->config->colors[i] = (unsigned int)strtoul(libconfig->setting_get_string_elem(colors,i),NULL,0);
- channel->config->colors[i] = (channel->config->colors[i] & 0x0000FF) << 16 | (channel->config->colors[i] & 0x00FF00) | (channel->config->colors[i] & 0xFF0000) >> 16;//RGB to BGR
}
channel->config->colors_count = color_count;
}