Opened 12 years ago

Closed 12 years ago

#3513 closed defect (fixed)

SWORD2: Black-out in Forest

Reported by: SF/fermion Owned by: eriktorbjorn
Priority: normal Component: Engine: Sword2
Keywords: Cc:
Game: Broken Sword 2

Description

ScummVM 0.11.0svn (Dec 7 2007 19:47:40)
Features compiled in: Vorbis FLAC MP3 zLib MPEG2
English language, SoldOut CD version
Latest snapshot for Mac OS X, using version 10.4.11 of the OS

From the area with the swamp in the forest, click the middle exit on the left. (In the provided saved game, it's the one that George is facing.) The location it goes to is random: eventually it will return George to the same location (he'll come out from a different path). Immediately click on the same exit again - the middle exit on the left again, that is. The screen fades to black, and cannot be made to recover.

This bug also appears to be present in version 0.10.0 of ScummVM.

Ticket imported from: #1851502. Ticket imported from: bugs/3513.

Attachments (1)

sword2.019 (799 bytes ) - added by SF/fermion 12 years ago.
Saved game at the appropriate location

Download all attachments as: .zip

Change History (6)

by SF/fermion, 12 years ago

Attachment: sword2.019 added

Saved game at the appropriate location

comment:1 by SF/fermion, 12 years ago

Summary: Black-out in ForestSWORD2: Black-out in Forest

comment:2 by eriktorbjorn, 12 years ago

I can reproduce this. I will take a closer look later. (It's 2 o'clock in the morning here at the moment. :-)

comment:3 by eriktorbjorn, 12 years ago

Owner: set to eriktorbjorn

comment:4 by eriktorbjorn, 12 years ago

Resolution: fixed
Status: newclosed

comment:5 by eriktorbjorn, 12 years ago

I've committed a fix for this bug.

It wasn't a script bug, as I first thought, it was a game engine bug. When you click on the same exit twice in a row, the engine fades down the screen, hides the mouse cursor, and sets the EXIT_FADING script variable to tell the already running exit script to leave the room immediately. But in this case, the exit script isn't running.

Now the engine clears the EXIT_CLICK_ID script variable when entering a new room.

Note: See TracTickets for help on using tickets.