-#if 0
- if (!soft_scrolling_on)
- {
- int old_scroll_x=scroll_x, old_scroll_y=scroll_y;
- int new_scroll_x=scroll_x, new_scroll_y=scroll_y;
- int offset = (scroll_delay_on ? 3 : 0);
-
- if ((scroll_x < lastJX-MIDPOSX-offset || scroll_x > lastJX-MIDPOSX+offset) &&
- lastJX>=MIDPOSX-1-offset && lastJX<=lev_fieldx-(MIDPOSX-offset))
- new_scroll_x = lastJX-MIDPOSX + (scroll_x < lastJX-MIDPOSX ? -offset : offset);
- if ((scroll_y < lastJY-MIDPOSY-offset || scroll_y > lastJY-MIDPOSY+offset) &&
- JY>=MIDPOSY-1-offset && JY<=lev_fieldy-(MIDPOSY-offset))
- new_scroll_y = lastJY-MIDPOSY + (scroll_y < lastJY-MIDPOSY ? -offset : offset);
-
- if (new_scroll_x!=old_scroll_x || new_scroll_y!=old_scroll_y)
- /*
- ScrollLevel(old_scroll_x-scroll_x,old_scroll_y-scroll_y);
- */
- sxx = syy = 0;
- }
-#endif
-