Wintermute Engine Forum
Wintermute Engine => Bug reports => Topic started by: metamorphium on June 29, 2008, 10:59:56 PM
-
Hi Mnemonic,
strange problem popped on me in log:
23:58:59: Fatal: Invalid instruction -557797922 ('scenes\Salia6\scr\scanlines.script', line 74, IP:0x0)
where the line is: if (Scene.EndLines) break;
this line works ok most of the time, just once I got this. Any ideas? (not that it would block game or something, but still, I don't like unexplainable stuff in my code :))
-
That's typically connected to the nested loop/switch bug...
-
not this time it's in while loop, but no nesting there.
something like:
while (!Scene.Discovery)
{
...
...
if (Scene.EndLines) break;
...
}
It can be though somehow connected to detaching the script, but it would mean that the scheduler got berserk.
-
I just had this problem, but I fixed it. It was because I had a while-loop within another while-loop. It said the break; was an invalid instruction.