Fix lighting bug when starting straight into a saved game
This commit is contained in:
parent
da529517a0
commit
1bab88924b
@ -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 };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user