Loading

Paste #p5elx4u9u

  1. Index: src/clear_cmd.cpp
  2. ===================================================================
  3. --- src/clear_cmd.cpp   (revision 27199)
  4. +++ src/clear_cmd.cpp   (working copy)
  5. @@ -112,7 +112,7 @@
  6.             break;
  7.  
  8.         case CLEAR_ROCKS:
  9. -           DrawGroundSprite((TileHash(ti->x, ti->y) & 1 ? SPR_FLAT_ROCKY_LAND_2 : SPR_FLAT_ROCKY_LAND_1) + SlopeToSpriteOffset(ti->tileh), PAL_NONE);
  10. +           DrawGroundSprite((HasGrfMiscBit(GMB_SECOND_ROCKY_TILE_SET) && (TileHash(ti->x, ti->y) & 1) ? SPR_FLAT_ROCKY_LAND_2 : SPR_FLAT_ROCKY_LAND_1) + SlopeToSpriteOffset(ti->tileh), PAL_NONE);
  11.             break;
  12.  
  13.         case CLEAR_FIELDS:
  14. Index: src/newgrf.h
  15. ===================================================================
  16. --- src/newgrf.h    (revision 27199)
  17. +++ src/newgrf.h    (working copy)
  18. @@ -61,6 +61,7 @@
  19.     GMB_TRAIN_WIDTH_32_PIXELS  = 3, ///< Use 32 pixels per train vehicle in depot gui and vehicle details. Never set in the global variable; @see GRFFile::traininfo_vehicle_width
  20.     GMB_AMBIENT_SOUND_CALLBACK = 4,
  21.     GMB_CATENARY_ON_3RD_TRACK  = 5, // Unsupported.
  22. +   GMB_SECOND_ROCKY_TILE_SET  = 6,
  23.  };
  24.  
  25.  enum GrfSpecFeature {
  26.  

Comments