diff options
author | Max Horn | 2003-05-14 09:47:53 +0000 |
---|---|---|
committer | Max Horn | 2003-05-14 09:47:53 +0000 |
commit | 05c44e606ecda344801adb957aebee5160a35f2e (patch) | |
tree | 1aa3b43859f0d1ea63d146b29de410b31748b6e0 /scumm/dialogs.cpp | |
parent | bb3e596951ad2140092ab01977ac1b2e54567d1b (diff) | |
download | scummvm-rg350-05c44e606ecda344801adb957aebee5160a35f2e.tar.gz scummvm-rg350-05c44e606ecda344801adb957aebee5160a35f2e.tar.bz2 scummvm-rg350-05c44e606ecda344801adb957aebee5160a35f2e.zip |
various V8 tweaks
svn-id: r7494
Diffstat (limited to 'scumm/dialogs.cpp')
-rw-r--r-- | scumm/dialogs.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index 435e58a89d..44c04c69d1 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -175,7 +175,10 @@ const ScummVM::String ScummDialog::queryResString(int stringno) { if (stringno == 0) return String(); - if (_scumm->_features & GF_AFTER_V7) + if (_scumm->_features & GF_AFTER_V8 ) + // TODO: Maybe grab the strings from the language file? + return string_map_table_v5[stringno - 1].string; + else if (_scumm->_features & GF_AFTER_V7) result = _scumm->getStringAddressVar(string_map_table_v7[stringno - 1].num); else if (_scumm->_features & GF_AFTER_V6) result = _scumm->getStringAddressVar(string_map_table_v6[stringno - 1].num); |