diff options
author | rubidium <rubidium@openttd.org> | 2008-05-25 22:36:44 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-25 22:36:44 +0000 |
commit | 8c9cc415e3eac6a7709f6a8978f213311416312e (patch) | |
tree | 1460114c8e9243ecb6e428c7db15dfa7abc391ed /src/gfxinit.cpp | |
parent | 51ca426c4bdb85137be82b0cc2436fc5ac0c442f (diff) | |
download | openttd-8c9cc415e3eac6a7709f6a8978f213311416312e.tar.xz |
(svn r13255) -Codechange: move _opt to _settings.
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r-- | src/gfxinit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp index c0350185d..390f69e73 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 (_opt.landscape != LT_TEMPERATE) { + if (_settings.game_creation.landscape != LT_TEMPERATE) { LoadGrfIndexed( - files->landscape[_opt.landscape - 1].filename, - _landscape_spriteindexes[_opt.landscape - 1], + files->landscape[_settings.game_creation.landscape - 1].filename, + _landscape_spriteindexes[_settings.game_creation.landscape - 1], i++ ); } @@ -248,7 +248,7 @@ static void LoadSpriteTables() void GfxLoadSprites() { - DEBUG(sprite, 2, "Loading sprite set %d", _opt.landscape); + DEBUG(sprite, 2, "Loading sprite set %d", _settings.game_creation.landscape); GfxInitSpriteMem(); LoadSpriteTables(); |