Opened 15 years ago

Closed 15 years ago

Last modified 21 months ago

#8442 closed patch

Fix hanging descheduled entry/exit scripts

Reported by: SF/albeu Owned by: Kirben
Priority: normal Component: Engine: SCUMM
Keywords: Cc:


When an entry or exit script get descheduled it is never scheduled again.

This is due to the "script cycle" thing for he games. runEntryScript and runExitScript aren't setting the cycle field in the script slot. So they can't be scheduled again as runAllScripts expect a value >= 0.

The patch fix this for scumm games, dunno if that's correct for the he games however.

Ticket imported from: #1233352. Ticket imported from: patches/547.

Attachments (1)

entry_exit_schedule.diff (718 bytes ) - added by SF/albeu 15 years ago.
Patch againts anonymous cvs 2005-07-06

Download all attachments as: .zip

Change History (5)

by SF/albeu, 15 years ago

Attachment: entry_exit_schedule.diff added

Patch againts anonymous cvs 2005-07-06

comment:1 by fingolfin, 15 years ago

Owner: set to Kirben

comment:2 by fingolfin, 15 years ago

Kirben introduced the scriptCycle stuff, I think.

comment:3 by Kirben, 15 years ago

Status: newclosed

comment:4 by digitall, 21 months ago

Component: Engine: SCUMM
Note: See TracTickets for help on using tickets.