aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/script.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2007-09-30 13:19:31 +0000
committerFilippos Karapetis2007-09-30 13:19:31 +0000
commitf002fcf98af5942563112008c180fcbb183c20a2 (patch)
treedca86219a55bddaf4445600847bd17f4e990b7ca /engines/saga/script.cpp
parentcb2f6ce0928f013087ef130ad9f7abcb19e15d8a (diff)
downloadscummvm-rg350-f002fcf98af5942563112008c180fcbb183c20a2.tar.gz
scummvm-rg350-f002fcf98af5942563112008c180fcbb183c20a2.tar.bz2
scummvm-rg350-f002fcf98af5942563112008c180fcbb183c20a2.zip
IHNM does not have excuse texts
svn-id: r29145
Diffstat (limited to 'engines/saga/script.cpp')
-rw-r--r--engines/saga/script.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/engines/saga/script.cpp b/engines/saga/script.cpp
index 83ef1e9df1..c749c1d9e8 100644
--- a/engines/saga/script.cpp
+++ b/engines/saga/script.cpp
@@ -516,13 +516,16 @@ void Script::doVerb() {
_vm->_events->queue(&event);
} else {
- _vm->getExcuseInfo(_pendingVerb, excuseText, excuseSampleResourceId);
- if (excuseText) {
- // In Floppy versions we don't have excuse texts
- if (!(_vm->getFeatures() & GF_CD_FX))
- excuseSampleResourceId = -1;
+ // Show excuse text in ITE CD Versions
+ if (_vm->getGameType() == GType_ITE) {
+ _vm->getExcuseInfo(_pendingVerb, excuseText, excuseSampleResourceId);
+ if (excuseText) {
+ // In Floppy versions we don't have excuse texts
+ if (!(_vm->getFeatures() & GF_CD_FX))
+ excuseSampleResourceId = -1;
- _vm->_actor->actorSpeech(ID_PROTAG, &excuseText, 1, excuseSampleResourceId, 0);
+ _vm->_actor->actorSpeech(ID_PROTAG, &excuseText, 1, excuseSampleResourceId, 0);
+ }
}
}