Loading

industry_map.h.patch

  1. Index: src/industry_map.h
  2. ===================================================================
  3. --- src/industry_map.h  (revision 27170)
  4. +++ src/industry_map.h  (working copy)
  5. @@ -280,7 +280,7 @@
  6.  static inline void MakeIndustry(TileIndex t, IndustryID index, IndustryGfx gfx, uint8 random, WaterClass wc)
  7.  {
  8.     SetTileType(t, MP_INDUSTRY);
  9. -   _m[t].m1 = 0;
  10. +   SB(_m[t].m1, 0, 4, 0); SB(_m[t].m1, 5, 3, 0); // Make sure bit 4 is unaffected.
  11.     _m[t].m2 = index;
  12.     SetIndustryRandomBits(t, random); // m3
  13.     _m[t].m4 = 0;

Version history

Revision # Author Created at
pxiroplnx Anonymous 24 Feb 2015, 20:16:11 UTC Diff

Comments