diff options
author | Filippos Karapetis | 2009-02-20 10:49:43 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-02-20 10:49:43 +0000 |
commit | 7886aedebb0e09ebfec62498293c42fdece69f02 (patch) | |
tree | b13b1b764b22f9f5bb341e7449139cd2ce147677 /common/queue.h | |
parent | 0155a1d0b4aeea44c7f27405675bbb2c52d660d6 (diff) | |
download | scummvm-rg350-7886aedebb0e09ebfec62498293c42fdece69f02.tar.gz scummvm-rg350-7886aedebb0e09ebfec62498293c42fdece69f02.tar.bz2 scummvm-rg350-7886aedebb0e09ebfec62498293c42fdece69f02.zip |
Fixed a nasty regression from the script system rewrite (commit #35670), which will cause crashes under certain conditions, and probably makes SAGA games non-completable.
When a script thread is waiting for another thread, the current instruction offset should not be modified. The thread processing function would incorrectly continue in some special cases, and would incorrectly alter the current instruction offset. This becomes apparent in some special cases only, which made it hard to spot - plus, SAGA games have not been tested for 0.13.0, so there weren't any reports for this.
This change SHOULD go to the 0.13.0 branch, but we've already tagged...
svn-id: r38581
Diffstat (limited to 'common/queue.h')
0 files changed, 0 insertions, 0 deletions