Loading

Paste #ph9qo3swv

  1. commit c15dbd719a326be288d089de390d9da595d107a7
  2. Author: frosch <frosch@openttd.org>
  3. Date:   Sun Oct 30 13:51:38 2016 +0100
  4.  
  5.     -Fix: Loading of Action2 for road and tram types.
  6.  
  7. diff --git a/src/newgrf.cpp b/src/newgrf.cpp
  8. index d685326..04baa9e 100644
  9. --- a/src/newgrf.cpp
  10. +++ b/src/newgrf.cpp
  11. @@ -4993,6 +4993,8 @@ static void NewSpriteGroup(ByteReader *buf)
  12.                 case GSF_CARGOES:
  13.                 case GSF_AIRPORTS:
  14.                 case GSF_RAILTYPES:
  15. +               case GSF_ROADTYPES:
  16. +               case GSF_TRAMTYPES:
  17.                 {
  18.                     byte num_loaded  = type;
  19.                     byte num_loading = buf->ReadByte();
  20.  

Comments