aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/schedule.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2011-01-31 18:22:20 +0000
committerArnaud Boutonné2011-01-31 18:22:20 +0000
commit1799c4f04507e46f30d8321447061a7f93d5dcda (patch)
treed5ab20de50e14a16e0cd733d02111df6b2518cc0 /engines/hugo/schedule.cpp
parent250f5a97fa8546bf555edfb4fc6cfe13d05976c7 (diff)
downloadscummvm-rg350-1799c4f04507e46f30d8321447061a7f93d5dcda.tar.gz
scummvm-rg350-1799c4f04507e46f30d8321447061a7f93d5dcda.tar.bz2
scummvm-rg350-1799c4f04507e46f30d8321447061a7f93d5dcda.zip
Hugo: Some cleanup
svn-id: r55690
Diffstat (limited to 'engines/hugo/schedule.cpp')
-rw-r--r--engines/hugo/schedule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/schedule.cpp b/engines/hugo/schedule.cpp
index a723871f02..832297e7e5 100644
--- a/engines/hugo/schedule.cpp
+++ b/engines/hugo/schedule.cpp
@@ -163,8 +163,8 @@ void Scheduler::newScreen(int screenIndex) {
// Make sure the background file exists!
if (!_vm->isPacked()) {
Common::String filename = Common::String(_vm->_text->getScreenNames(screenIndex));
- if (!_vm->_file->fileExists(_vm->_picDir + filename + Common::String(".PCX")) &&
- !_vm->_file->fileExists(filename + Common::String(".ART"))) {
+ if (!_vm->_file->fileExists(_vm->_picDir + filename + ".PCX") &&
+ !_vm->_file->fileExists(filename + ".ART")) {
error("Unable to find background file for %s", filename.c_str());
return;
}