Added a workaround for the casino door in LSL1

svn-id: r45494
This commit is contained in:
Filippos Karapetis 2009-10-28 23:32:28 +00:00
parent 2d9d9bca13
commit 8150fc07bc

View File

@ -484,6 +484,13 @@ reg_t kBaseSetter(EngineState *s, int argc, reg_t *argv) {
s->_gui->baseSetter(object);
// WORKAROUND for a problem in LSL1VGA. This allows the casino door to be opened,
// till the actual problem is found
if (s->_gameName == "lsl1sci" && s->currentRoomNumber() == 300) {
int top = GET_SEL32V(s->_segMan, object, brTop);
PUT_SEL32V(s->_segMan, object, brTop, top + 2);
}
return s->r_acc;
}