aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/eobcommon.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2013-09-03 20:28:21 +0200
committerWillem Jan Palenstijn2013-09-05 20:23:42 +0200
commitdd9ab7accbe7671134d6c9303d94f527ef599404 (patch)
treea514809a96bcb83cb52522b4335f929200b92a6d /engines/kyra/eobcommon.cpp
parent9b027771557bf308d8aa92ea9c25b30be15b68d6 (diff)
downloadscummvm-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