Loading

Paste #ptbenxagl

  1. diff -r 38e09267a9c4 src/templates/header.pypnml
  2. --- a/src/templates/header.pypnml   Tue Feb 09 16:47:55 2016 +0000
  3. +++ b/src/templates/header.pypnml   Tue Feb 09 20:36:13 2016 +0100
  4. @@ -125,3 +125,9 @@
  5.     PR_BUILD_INDUSTRY_RAW : 2;  // Building primary industries is also expensive
  6.     PR_CLEAR_INDUSTRY : 2;      // Deleting industries must also be expensive
  7.  }
  8. +
  9. +/* Old default values for old savegames */
  10. +if (param[6] == 0) { param[6] = 100; }
  11. +if (param[7] == 0) { param[7] = 100; }
  12. +if (param[8] == 0) { param[8] = 400; }
  13. +if (param[9] == 0) { param[9] = 300; }
  14.  

Comments