Fixed the cursor limiting code in GK1
svn-id: r49440
This commit is contained in:
parent
e9f35fbf4c
commit
c00d645506
1 changed files with 4 additions and 0 deletions
|
@ -148,6 +148,10 @@ static reg_t kSetCursorSci11(EngineState *s, int argc, reg_t *argv) {
|
|||
int16 bottom = argv[2].toSint16();
|
||||
int16 right = argv[3].toSint16();
|
||||
|
||||
// In SCI32, the right parameter seems to be divided by 2
|
||||
if (getSciVersion() >= SCI_VERSION_2)
|
||||
right *= 2;
|
||||
|
||||
if ((right >= left) && (bottom >= top)) {
|
||||
Common::Rect rect = Common::Rect(left, top, right, bottom);
|
||||
g_sci->_gfxCursor->kernelSetMoveZone(rect);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue