From 880883541201f6ba37853c184d4401f26315b4b9 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 12 Dec 2009 23:56:41 +0000 Subject: [PATCH] (svn r18475) [0.7] -Fix (r18300)[FS#3344]: Initialisation of cargo payment works different in 0.7 than trunk r18207. --- src/genworld.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/genworld.cpp b/src/genworld.cpp index c92effe3d9..46ca298f09 100644 --- a/src/genworld.cpp +++ b/src/genworld.cpp @@ -4,6 +4,7 @@ #include "stdafx.h" #include "openttd.h" +#include "functions.h" #include "landscape.h" #include "company_func.h" #include "variables.h" @@ -284,6 +285,9 @@ void GenerateWorld(GenerateWorldMode mode, uint size_x, uint size_y, bool reset_ GfxLoadSprites(); LoadStringWidthTable(); + /* Initialise cargo payment */ + InitializeLandscapeVariables(false); + /* Re-init the windowing system */ ResetWindowSystem();