aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNicola Mettifogo2008-06-28 13:31:58 +0000
committerNicola Mettifogo2008-06-28 13:31:58 +0000
commite6e56feb1c61e9d4edb6032e9b759f9875ef00af (patch)
tree6eaeca4b67ae6b637cd20aae0fbde0a8f8b83960 /engines
parente97dff9f33697fac6741a74c02e1034fb126a304 (diff)
downloadscummvm-rg350-e6e56feb1c61e9d4edb6032e9b759f9875ef00af.tar.gz
scummvm-rg350-e6e56feb1c61e9d4edb6032e9b759f9875ef00af.tar.bz2
scummvm-rg350-e6e56feb1c61e9d4edb6032e9b759f9875ef00af.zip
Added comment for fix for bug #2001193.
svn-id: r32820
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/callables_ns.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/parallaction/callables_ns.cpp b/engines/parallaction/callables_ns.cpp
index 36f5b00c5b..3ecc7a9534 100644
--- a/engines/parallaction/callables_ns.cpp
+++ b/engines/parallaction/callables_ns.cpp
@@ -417,7 +417,9 @@ void Parallaction_ns::_c_ridux(void *parm) {
}
void Parallaction_ns::_c_testResult(void *parm) {
- if (_inTestResult) {
+ if (_inTestResult) { // NOTE: _inTestResult has been added because the scripts call _c_testResult multiple times to cope with
+ // the multiple buffering that was used in the original engine. _inTestResult now prevents the engine
+ // from crashing when the scripts are executed.
return;
}
_inTestResult = true;