To
/* Tworzymy sprita z surface*/
terrSpriteNew = sprite_create_from_surface( terrSurface, 0, 0, room_width, room_height, 1, 1, 1, 1, 0, 0 );
sprite_index = terrSpriteNew;
zamień na
/* Tworzymy sprita z surface*/
terrSpriteOld = sprite_index;
sprite_index = noone;
sprite_delete( terrSpriteOld );
terrSpriteNew = sprite_create_from_surface( terrSurface, 0, 0, room_width, room_height, 1, 1, 1, 1, 0, 0 );
sprite_index = terrSpriteNew;
I tyle.
Jednak proponuję przejść na ten 2gi. ;)