diff options
author | Filippos Karapetis | 2009-07-07 12:29:55 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-07-07 12:29:55 +0000 |
commit | 74670cc834636b431b168343511415ccbcc97a71 (patch) | |
tree | 51d0f46db38aec7d8d554eefddcc122f4640ecb1 /engines/sci/console.cpp | |
parent | add4d124b29a6de01d69cc8f2a8d236deb969425 (diff) | |
download | scummvm-rg350-74670cc834636b431b168343511415ccbcc97a71.tar.gz scummvm-rg350-74670cc834636b431b168343511415ccbcc97a71.tar.bz2 scummvm-rg350-74670cc834636b431b168343511415ccbcc97a71.zip |
Removed the superfluous sci_version_types array (it's essentially the same as the versionNames array)
svn-id: r42216
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r-- | engines/sci/console.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index 8f977c04c2..2d11f39835 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -374,10 +374,8 @@ const char *selector_name(EngineState *s, int selector) { } bool Console::cmdGetVersion(int argc, const char **argv) { - int ver = _vm->getVersion(); - - DebugPrintf("Resource file version: %s\n", sci_version_types[_vm->getResMgr()->_sciVersion]); - DebugPrintf("Emulated interpreter version: %s\n", versionNames[ver]); + DebugPrintf("Resource file version: %s\n", versionNames[_vm->getResMgr()->_sciVersion]); + DebugPrintf("Emulated interpreter version: %s\n", versionNames[_vm->getVersion()]); return true; } |