Mojo2 possible light bug
Monkey Forums/Monkey Bug Reports/Mojo2 possible light bug
| ||
Hey Mark, in your mojo2/graphics.monkey module I found this:Method Init:Void() _dirty=-1 For Local i:=0 Until 4 _lights[i]=New LightData Next End Should the for loop not initialize till MAX_LIGHTS and not just to 4, so something like: For Local i:=0 Until MAX_LIGHTS like everywhere else? Because a few lines below I see a potential access violation then when you have more than 4 lights: Local light:=_lights[i] |