Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#7112 closed defect (fixed)

DRASCULA: protagonist walking off the screen

Reported by: SF/jomalin1 Owned by: criezy
Priority: normal Component: Engine: Drascula
Keywords: Cc:
Game: Drascula

Description

I have ScummVM 1.8.0 and Win7 SP1 64 bits.

I have found a bug that happens in general in the game in several places, but here i give you a savegame just to reproduce it. Load the savegame and with the WALK icon, click on the center of the sleeping old man, you will see the protagonist going outside of the screen, very strange! And now you can't do nothing, no load game, no save game, you must close ScummVM and start it again.

The savegame is for the SPANISH version of Drascula.

Ticket imported from: bugs/7112.

Attachments (1)

drascula-es.005 (15.6 KB) - added by SF/jomalin1 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by SF/jomalin1

Attachment: drascula-es.005 added

comment:1 Changed 3 years ago by criezy

Owner: set to criezy
Summary: Bug that blocks the game (this happen in several places of the game)DRASCULA: protagonist walking off the screen

comment:2 Changed 3 years ago by criezy

Component: Engine: Drascula
Game: Drascula
Resolution: fixed
Status: newclosed

comment:3 Changed 3 years ago by criezy

Thank you.

There was indeed a bug in our code when checking if a character should start to walk and in which direction. When the protagonist stands close to the target location (where we ask him to walk to) and at the exact same Y (vertical) location as the target location, we started the walk without properly setting some conditions for it to stop, so it was never stopping. I checked what the original was doing and in this case it was not starting the walk (so the character did not move). Our code now behaves in the same way,

This will thus be fixed in our next daily build, and in the next release.

Note: The bug is actually not blocking. If you click again somewhere on the screen after the protagonist has walked off screen, he will walk back to the screen area. It may take some time however for him to come back if he walked far away (if you waited a long time after the protagonist walked off screen before clicking again on the screen).

Note: See TracTickets for help on using tickets.