diff --git a/src/gl/scene/gl_scene.cpp b/src/gl/scene/gl_scene.cpp index 99660267cf..072d3408c1 100644 --- a/src/gl/scene/gl_scene.cpp +++ b/src/gl/scene/gl_scene.cpp @@ -813,7 +813,7 @@ void FGLRenderer::SetFixedColormap (player_t *player) player_t * cplayer = player->camera->player; if (cplayer) { - if (cplayer->extralight<0) + if (cplayer->extralight == INT_MIN) { gl_fixedcolormap=CM_FIRSTSPECIALCOLORMAP + INVERSECOLORMAP; extralight=0;