Skip to main content
Topic: [bug] r3787 CTDs on screen scrolling (Read 2147 times) previous topic - next topic

[bug] r3787 CTDs on screen scrolling

r3787 CTDs on me constantly when scrolling the screen. r3786 is fine. I notice graphics corruption in the scrolling message area at the bottom of the screen. The corruption is player color bits of vehicles that are hidden by the message. Reverting this section of code fixes the problem.

Code: [Select]
simgraph16.cc:2600
-      display_color_img_aux( (tile_raster_width != base_tile_raster_width  &&  images[n].zoom_data != NULL) ? images[n].zoom_data : images[n].base_data, xp+x, yp+y, h );
+      // clipping at poly lines?
+      if (number_of_clips>0) {
+        display_img_pc<colored>(h, xp+x, yp+y,  (tile_raster_width != base_tile_raster_width  &&  images[n].zoom_data != NULL) ? images[n].zoom_data : images[n].base_data);
+      }
+      else {
+        display_color_img_aux( (tile_raster_width != base_tile_raster_width  &&  images[n].zoom_data != NULL) ? images[n].zoom_data : images[n].base_data, xp+x, yp+y, h );
+      }

Re: [bug] r3787 CTDs on screen scrolling

Reply #1
Thank you for pointing out, where the problem originated from.

Should be fixed in 3809. Please retest.
Parsley, sage, rosemary, and maggikraut.

Re: [bug] r3787 CTDs on screen scrolling

Reply #2
No more crashes with r3809. Fixed.