mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 03:10:22 +00:00
SCI: solved lsl1 casino door, lsl6 tram disappearing and qfg1 vga gate issue - i hope this won't cause regressions, but calling the method in collision case is definitely wrong
svn-id: r50921
This commit is contained in:
parent
6e5b537aaf
commit
d78eba3d18
@ -517,14 +517,6 @@ reg_t kBaseSetter(EngineState *s, int argc, reg_t *argv) {
|
||||
reg_t object = argv[0];
|
||||
|
||||
g_sci->_gfxCompare->kernelBaseSetter(object);
|
||||
|
||||
// WORKAROUND for a problem in LSL1VGA. This allows the casino door to be opened,
|
||||
// till the actual problem is found
|
||||
if (s->currentRoomNumber() == 300 && g_sci->getGameId() == GID_LSL1) {
|
||||
int top = readSelectorValue(s->_segMan, object, SELECTOR(brTop));
|
||||
writeSelectorValue(s->_segMan, object, SELECTOR(brTop), top + 2);
|
||||
}
|
||||
|
||||
return s->r_acc;
|
||||
}
|
||||
|
||||
|
@ -331,7 +331,7 @@ reg_t kDoBresen(EngineState *s, int argc, reg_t *argv) {
|
||||
writeSelectorValue(segMan, client, SELECTOR(signal), (signal | kSignalHitObstacle));
|
||||
|
||||
debugC(2, kDebugLevelBresen, "Finished mover %04x:%04x by collision", PRINT_REG(mover));
|
||||
completed = 1;
|
||||
// we shall not set completed in this case, sierra sci also doesn't do it
|
||||
}
|
||||
|
||||
if ((getSciVersion() >= SCI_VERSION_1_EGA))
|
||||
|
Loading…
Reference in New Issue
Block a user