aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorlukaslw2014-07-24 21:28:47 +0200
committerlukaslw2014-07-24 21:28:47 +0200
commite6e83d993d19c2ae77c37daeefd3f4a070673182 (patch)
treea66ecb37b963c686997b666885a1eac424f809cc /engines
parent1f88852de548a02e42c9fc8a546fc377117f87ae (diff)
downloadscummvm-rg350-e6e83d993d19c2ae77c37daeefd3f4a070673182.tar.gz
scummvm-rg350-e6e83d993d19c2ae77c37daeefd3f4a070673182.tar.bz2
scummvm-rg350-e6e83d993d19c2ae77c37daeefd3f4a070673182.zip
PRINCE: Fix for location 49 - after first talk with Arivald
Diffstat (limited to 'engines')
-rw-r--r--engines/prince/prince.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp
index 90629801e9..a998181e4c 100644
--- a/engines/prince/prince.cpp
+++ b/engines/prince/prince.cpp
@@ -471,6 +471,8 @@ bool PrinceEngine::loadLocation(uint16 locationNr) {
_mainHero->freeOldMove();
_secondHero->freeOldMove();
+ _mainHero->scrollHero();
+
return true;
}
@@ -634,7 +636,7 @@ bool PrinceEngine::loadVoice(uint32 slot, uint32 sampleSlot, const Common::Strin
stopSample(sampleSlot);
_voiceStream[sampleSlot] = SearchMan.createReadStreamForMember(streamName);
if (!_voiceStream[sampleSlot]) {
- error("Can't open %s", streamName.c_str());
+ debug("Can't open %s", streamName.c_str());
return false;
}
@@ -1052,6 +1054,7 @@ void PrinceEngine::printAt(uint32 slot, uint8 color, char *s, uint16 x, uint16 y
text._x = x;
text._y = y;
text._color = color;
+ text._time = calcText(s) * 30;
}
int PrinceEngine::calcText(const char *s) {