Fix lighting bug when starting straight into a saved game

This commit is contained in:
cim 2013-11-19 18:21:23 +00:00
parent da529517a0
commit 1bab88924b

View File

@ -224,7 +224,7 @@ static int JSResetFlags = 0;
// track the position and status of the lights
static BOOL object_light_on = NO;
static BOOL demo_light_on = NO;
static BOOL demo_light_on = YES;
static GLfloat sun_off[4] = {0.0, 0.0, 0.0, 1.0};
static GLfloat demo_light_position[4] = { DEMO_LIGHT_POSITION, 1.0 };