Merge branch 'maint_1.8'

This commit is contained in:
Christoph Oelckers 2013-07-22 17:30:51 +02:00
commit 3f3cbbe7f5

View file

@ -813,7 +813,7 @@ void FGLRenderer::SetFixedColormap (player_t *player)
player_t * cplayer = player->camera->player; player_t * cplayer = player->camera->player;
if (cplayer) if (cplayer)
{ {
if (cplayer->extralight<0) if (cplayer->extralight == INT_MIN)
{ {
gl_fixedcolormap=CM_FIRSTSPECIALCOLORMAP + INVERSECOLORMAP; gl_fixedcolormap=CM_FIRSTSPECIALCOLORMAP + INVERSECOLORMAP;
extralight=0; extralight=0;