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/titanic.h | |
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/titanic.h')
-rw-r--r-- | engines/titanic/titanic.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/titanic.h b/engines/titanic/titanic.h index ec015551b8..b0776c55a5 100644 --- a/engines/titanic/titanic.h +++ b/engines/titanic/titanic.h @@ -152,6 +152,11 @@ public: Common::Language getLanguage() const; /** + * Returns true if it's the German version + */ + bool isGerman() const { return getLanguage() == Common::DE_DEU; } + + /** * Gets a random number */ uint getRandomNumber(uint max) { return _randomSource.getRandomNumber(max); } |