diff options
author | Willem Jan Palenstijn | 2013-09-03 20:28:21 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-09-05 20:23:42 +0200 |
commit | dd9ab7accbe7671134d6c9303d94f527ef599404 (patch) | |
tree | a514809a96bcb83cb52522b4335f929200b92a6d /engines/kyra/eobcommon.cpp | |
parent | 9b027771557bf308d8aa92ea9c25b30be15b68d6 (diff) | |
download | scummvm-rg350-dd9ab7accbe7671134d6c9303d94f527ef599404.tar.gz scummvm-rg350-dd9ab7accbe7671134d6c9303d94f527ef599404.tar.bz2 scummvm-rg350-dd9ab7accbe7671134d6c9303d94f527ef599404.zip |
WINTERMUTE: Don't clean up _scripts mid-iteration
Scripts executing from ScEngine::tick() can call
ScEngine::unbreakableTick() via scCallMethod("SaveGame") and
applyEvent("BeforeSave").
This recursive execution could cause finished scripts being removed
from _scripts while ScEngine::tick() is still iterating over that array.
Diffstat (limited to 'engines/kyra/eobcommon.cpp')
0 files changed, 0 insertions, 0 deletions