summaryrefslogtreecommitdiff
path: root/src/gfxinit.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-29 15:13:28 +0000
committerrubidium <rubidium@openttd.org>2008-05-29 15:13:28 +0000
commite7a501100a242640d25c21627ec67e75f9645043 (patch)
tree59059f0a1aba0794fa770e8c9a19312e4ce300af /src/gfxinit.cpp
parent48e20d801221888a1b8b6a4ab8288becad4b954b (diff)
downloadopenttd-e7a501100a242640d25c21627ec67e75f9645043.tar.xz
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r--src/gfxinit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp
index 390f69e73..fe79abf77 100644
--- a/src/gfxinit.cpp
+++ b/src/gfxinit.cpp
@@ -214,10 +214,10 @@ static void LoadSpriteTables()
* This overwrites some of the temperate sprites, such as foundations
* and the ground sprites.
*/
- if (_settings.game_creation.landscape != LT_TEMPERATE) {
+ if (_settings_game.game_creation.landscape != LT_TEMPERATE) {
LoadGrfIndexed(
- files->landscape[_settings.game_creation.landscape - 1].filename,
- _landscape_spriteindexes[_settings.game_creation.landscape - 1],
+ files->landscape[_settings_game.game_creation.landscape - 1].filename,
+ _landscape_spriteindexes[_settings_game.game_creation.landscape - 1],
i++
);
}
@@ -248,7 +248,7 @@ static void LoadSpriteTables()
void GfxLoadSprites()
{
- DEBUG(sprite, 2, "Loading sprite set %d", _settings.game_creation.landscape);
+ DEBUG(sprite, 2, "Loading sprite set %d", _settings_game.game_creation.landscape);
GfxInitSpriteMem();
LoadSpriteTables();