Am Mi, den 31.12.2003 schrieb Armin Dittel um 03:46:
> In function 'shape' the following code may lead to a segmentation fault
> if yy is exactly 15, because the
> array tiles has got only 15 elements (0 to 14).
>
> if (yy >= 0 && yy <= 15 && xx >= 0 && xx <= level_width)
> c = tiles[yy][xx];
>
> Changing the '<=' to '<' will fix this, I think..
>
> I encountered this using MinGW on a Windows XP machine, where the blue
> screen guys look somewhat familiar...
Thanks, but this has already been solved in CVS. :)
Greetz...
Tobias Gläßer
|