---- Jens Seidel <[EMAIL PROTECTED]> wrote: ... > > --- hex_puzzzle.cpp 2007-12-16 13:19:47.000000000 +0100 > > +++ hex_puzzle.fixed.cpp 2007-12-16 13:19:05.000000000 +0100 > > @@ -602,6 +602,9 @@ > > { > > while (numStages > 0 && time[numStages-1] >= t) > > numStages--; > > + if (currentStage > 0 && currentStage >= numStages) { > > + currentStage = numStages - 1; > > + } > > Is this also save if numStages==0? I will try to check it during the > next weekend and play some levels.
You are right, currentStage should also be limited to zero. So another line from UpdateCurrent needs to be copied here too. Regards, Roland Clobus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]