aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathrxx2011-12-28 00:55:09 +0100
committerathrxx2011-12-28 00:56:55 +0100
commitcc40a019e5f93f79d43b22773a04101006048e9f (patch)
treecfd626f3012faa5cef2ec298b21e99dd02811b12
parent56191e3928ef78a09ff3549f06d4e0ea795a5863 (diff)
downloadscummvm-rg350-cc40a019e5f93f79d43b22773a04101006048e9f.tar.gz
scummvm-rg350-cc40a019e5f93f79d43b22773a04101006048e9f.tar.bz2
scummvm-rg350-cc40a019e5f93f79d43b22773a04101006048e9f.zip
KYRA: (EOB) - fix EOB1 intro glitch
-rw-r--r--engines/kyra/eobcommon.cpp2
-rw-r--r--engines/kyra/sequences_eob.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/eobcommon.cpp b/engines/kyra/eobcommon.cpp
index 304d1a4539..15cabd9293 100644
--- a/engines/kyra/eobcommon.cpp
+++ b/engines/kyra/eobcommon.cpp
@@ -1059,7 +1059,7 @@ int EoBCoreEngine::countCharactersWithSpecificItems(int16 itemType, int16 itemVa
}
int EoBCoreEngine::checkInventoryForItem(int character, int16 itemType, int16 itemValue) {
- if (character < 0 )
+ if (character < 0)
return -1;
for (int i = 0; i < 27; i++) {
diff --git a/engines/kyra/sequences_eob.cpp b/engines/kyra/sequences_eob.cpp
index 2d8e85471b..65c149ea8f 100644
--- a/engines/kyra/sequences_eob.cpp
+++ b/engines/kyra/sequences_eob.cpp
@@ -539,7 +539,7 @@ void EoBEngine::seq_hands() {
uint32 end = _system->getMillis() + _tickLength;
_screen->fillRect(0, 0, 167, 63, 157);
_screen->drawShape(2, shp1, i, 4, 0);
- _screen->drawShape(2, shp1, 105 - i, 4, 0);
+ _screen->drawShape(2, shp2, 105 - i, 4, 0);
_screen->copyRegion(0, 0, 144, 32, 168, 64, 2, 0, Screen::CR_NO_P_CHECK);
_screen->updateScreen();
delayUntil(end);