1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r18475) [0.7] -Fix (r18300)[FS#3344]: Initialisation of cargo payment works different in 0.7 than trunk r18207.

This commit is contained in:
frosch
2009-12-12 23:56:41 +00:00
parent b6834cf135
commit 8808835412

View File

@@ -4,6 +4,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "openttd.h" #include "openttd.h"
#include "functions.h"
#include "landscape.h" #include "landscape.h"
#include "company_func.h" #include "company_func.h"
#include "variables.h" #include "variables.h"
@@ -284,6 +285,9 @@ void GenerateWorld(GenerateWorldMode mode, uint size_x, uint size_y, bool reset_
GfxLoadSprites(); GfxLoadSprites();
LoadStringWidthTable(); LoadStringWidthTable();
/* Initialise cargo payment */
InitializeLandscapeVariables(false);
/* Re-init the windowing system */ /* Re-init the windowing system */
ResetWindowSystem(); ResetWindowSystem();