mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
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
This commit is contained in:
parent
66a1c085c0
commit
7bef63537d
@ -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;
|
||||
|
@ -1318,7 +1318,6 @@ void Parallaction_ns::parseExamineData(Script &script, Zone *z) {
|
||||
|
||||
if (!scumm_stricmp(_tokens[0], "file")) {
|
||||
data->_filename = strdup(_tokens[1]);
|
||||
data->_cnv = _disk->loadStatic(_tokens[1]);
|
||||
}
|
||||
if (!scumm_stricmp(_tokens[0], "desc")) {
|
||||
data->_description = parseComment(script);
|
||||
|
Loading…
Reference in New Issue
Block a user