diff options
author | Nicola Mettifogo | 2007-12-09 17:29:41 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-12-09 17:29:41 +0000 |
commit | 7bef63537d385f0f8f7c80a5c9152eea7d539f24 (patch) | |
tree | b52a87b5a832dec876cc43e5db4ae79ae6a32bde /engines/parallaction/exec_ns.cpp | |
parent | 66a1c085c0bf09f9e42cc68e7514ecf1197f62c8 (diff) | |
download | scummvm-rg350-7bef63537d385f0f8f7c80a5c9152eea7d539f24.tar.gz scummvm-rg350-7bef63537d385f0f8f7c80a5c9152eea7d539f24.tar.bz2 scummvm-rg350-7bef63537d385f0f8f7c80a5c9152eea7d539f24.zip |
Going back to uncached mode for graphics resources of Examine zones. This prevents engine to crash when trying to cache a resource out of the currently selected archive.
svn-id: r29798
Diffstat (limited to 'engines/parallaction/exec_ns.cpp')
-rw-r--r-- | engines/parallaction/exec_ns.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/parallaction/exec_ns.cpp b/engines/parallaction/exec_ns.cpp index 1c63d78ac3..11f2209c5f 100644 --- a/engines/parallaction/exec_ns.cpp +++ b/engines/parallaction/exec_ns.cpp @@ -488,6 +488,10 @@ void Parallaction::displayComment(ExamineData *data) { } if (data->_filename) { + if (data->_cnv == 0) { + data->_cnv = _disk->loadStatic(data->_filename); + } + _gfx->setHalfbriteMode(true); _gfx->setDialogueBalloon(data->_description, 0, 90, 130, 0, 0); Common::Rect r; |