aboutsummaryrefslogtreecommitdiff
path: root/scumm/dialogs.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-14 09:47:53 +0000
committerMax Horn2003-05-14 09:47:53 +0000
commit05c44e606ecda344801adb957aebee5160a35f2e (patch)
tree1aa3b43859f0d1ea63d146b29de410b31748b6e0 /scumm/dialogs.cpp
parentbb3e596951ad2140092ab01977ac1b2e54567d1b (diff)
downloadscummvm-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.cpp5
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);