mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 19:04:00 +02:00
Merge branch 'master' of github-softcoder-megaglest:MegaGlest/megaglest-source
This commit is contained in:
@@ -1846,9 +1846,9 @@ void BaseColorPickEntity::assign_color() {
|
||||
// we expand it to true-color for use with OpenGL
|
||||
|
||||
const int
|
||||
r = (nextColorID >> 11) & ((1<<6)-1),
|
||||
b = (nextColorID >> 5) & ((1<<7)-1),
|
||||
g = nextColorID & ((1<<6)-1);
|
||||
r = (nextColorID >> 11) & ((1<<5)-1),
|
||||
g = (nextColorID >> 5) & ((1<<6)-1),
|
||||
b = nextColorID & ((1<<5)-1);
|
||||
|
||||
uniqueColorID[0] = r << 3;
|
||||
uniqueColorID[1] = g << 2;
|
||||
|
Reference in New Issue
Block a user