diff options
Diffstat (limited to 'engines/parallaction/parallaction_br.cpp')
-rw-r--r-- | engines/parallaction/parallaction_br.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/parallaction_br.cpp b/engines/parallaction/parallaction_br.cpp index 9f045cb397..316e38819a 100644 --- a/engines/parallaction/parallaction_br.cpp +++ b/engines/parallaction/parallaction_br.cpp @@ -430,8 +430,8 @@ void Parallaction_br::parseLocation(const char *filename) { restoreOrSaveZoneFlags(*ait, visited); // load the script - if ((*ait)->_scriptName) { - loadProgram(*ait, (*ait)->_scriptName); + if (!(*ait)->_scriptName.empty()) { + loadProgram(*ait, (*ait)->_scriptName.c_str()); } } |