diff options
author | Paul Gilbert | 2016-09-11 16:53:44 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-09-11 16:53:44 -0400 |
commit | 7d9526f8880177c5afd0533cb43d3015de949124 (patch) | |
tree | 001eb601fd3d452fa07cf788bd918d043bc55acd /engines/titanic/game/arboretum_gate.cpp | |
parent | 7d5a064fe141925bfac617c3c964cbf5f1b38b04 (diff) | |
download | scummvm-rg350-7d9526f8880177c5afd0533cb43d3015de949124.tar.gz scummvm-rg350-7d9526f8880177c5afd0533cb43d3015de949124.tar.bz2 scummvm-rg350-7d9526f8880177c5afd0533cb43d3015de949124.zip |
TITANIC: Simplify German version checks
Diffstat (limited to 'engines/titanic/game/arboretum_gate.cpp')
-rw-r--r-- | engines/titanic/game/arboretum_gate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/arboretum_gate.cpp b/engines/titanic/game/arboretum_gate.cpp index 1f684fdcc0..cf8357f401 100644 --- a/engines/titanic/game/arboretum_gate.cpp +++ b/engines/titanic/game/arboretum_gate.cpp @@ -113,7 +113,7 @@ void CArboretumGate::save(SimpleFile *file, int indent) { file->writeNumberLine(_endFrameWinterOn2, indent); file->writeQuotedLine(_viewName2, indent); - if (g_vm->getLanguage() == Common::DE_DEU) { + if (g_vm->isGerman()) { file->writeNumberLine(_field160, indent); file->writeNumberLine(_field164, indent); file->writeNumberLine(_field168, indent); @@ -177,7 +177,7 @@ void CArboretumGate::load(SimpleFile *file) { _endFrameWinterOn2 = file->readNumber(); _viewName2 = file->readString(); - if (g_vm->getLanguage() == Common::DE_DEU) { + if (g_vm->isGerman()) { _field160 = file->readNumber(); _field164 = file->readNumber(); _field168 = file->readNumber(); |