@@ -28,12 +28,13 @@
#include "currency.h"
#include "sound.h"
#include "newgrf_config.h"
#include "newgrf_sound.h"
#include "newgrf_spritegroup.h"
#include "helpers.hpp"
#include "cargotype.h"
/* TTDPatch extended GRF format codec
* (c) Petr Baudis 2004 (GPL'd)
* Changes by Florian octo Forster are (c) by the OpenTTD development team.
*
* Contains portions of documentation by TTDPatch team.
@@ -3516,12 +3517,15 @@ static void ResetNewGRFData(void)
/* Reset NewGRF files */
ResetNewGRF();
// Add engine type to engine data. This is needed for the refit precalculation.
AddTypeToEngines();
/* Set up the default cargo types */
SetupCargoForClimate(_opt.landscape);
/* Reset misc GRF features and train list display variables */
_misc_grf_features = 0;
_traininfo_vehicle_pitch = 0;
_traininfo_vehicle_width = 29;
_have_2cc = false;
_signal_base = 0;