diff -ur ScummVM-cvs20020821/scummvm/script_v1.cpp ScummVM-cvs20020821+hack/scummvm/script_v1.cpp
old
|
new
|
|
1549 | 1549 | b = fetchScriptByte(); |
1550 | 1550 | c = fetchScriptByte(); |
1551 | 1551 | |
| 1552 | // FIXME - I won't know where Loom is supposed to get the dimentions |
| 1553 | // for its flashlights, but with the above code b and c will always be |
| 1554 | // zero, which obviously won't work. For now, let's just hard-code the |
| 1555 | // dimensions until someone figures it out. |
| 1556 | // |
| 1557 | // I'm not sure I got the dimensions right, but something like this... |
| 1558 | |
| 1559 | if (_gameId == GID_LOOM256 && (a & LIGHTMODE_flashlight) && |
| 1560 | (_vars[VAR_CURRENT_LIGHTS] & LIGHTMODE_flashlight)) { |
| 1561 | a = 7; |
| 1562 | b = 7; |
| 1563 | c = 1; |
| 1564 | } |
| 1565 | |
1552 | 1566 | if (c == 0) |
1553 | 1567 | _vars[VAR_CURRENT_LIGHTS] = a; |
1554 | 1568 | else if (c == 1) { |