diff options
author | Eugene Sandulenko | 2009-06-06 17:45:52 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2009-06-06 17:45:52 +0000 |
commit | 1a321a206471bd3e18cd5c2d5d1cc452c051a235 (patch) | |
tree | dad892a2f900784d0e9f77b9d0bed15a39161c52 /engines/agi/detection.cpp | |
parent | 2113060c43c4975f0c2960d32b3e580ae86bb7ec (diff) | |
download | scummvm-rg350-1a321a206471bd3e18cd5c2d5d1cc452c051a235.tar.gz scummvm-rg350-1a321a206471bd3e18cd5c2d5d1cc452c051a235.tar.bz2 scummvm-rg350-1a321a206471bd3e18cd5c2d5d1cc452c051a235.zip |
Cleanup
svn-id: r41254
Diffstat (limited to 'engines/agi/detection.cpp')
-rw-r--r-- | engines/agi/detection.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp index b730b825f6..f53e42017e 100644 --- a/engines/agi/detection.cpp +++ b/engines/agi/detection.cpp @@ -63,7 +63,7 @@ Common::Language AgiBase::getLanguage() const { } uint16 AgiBase::getVersion() const { - return _gameDescription->version; + return _gameVersion; } uint16 AgiBase::getGameType() const { @@ -82,6 +82,14 @@ void AgiBase::setFeature(uint32 feature) { _gameFeatures |= feature; } +void AgiBase::setVersion(uint16 version) { + _gameVersion = version; +} + +void AgiBase::initVersion(void) { + _gameVersion = _gameDescription->version; +} + } static const PlainGameDescriptor agiGames[] = { |