aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorPaul Gilbert2014-07-27 18:31:09 -0400
committerPaul Gilbert2014-07-27 18:31:09 -0400
commit6e27b523c0a633e7a4c9458bfed64b1c24666a65 (patch)
tree4bce87e2d3c6584e2f91c0940eee8a0714de9468 /engines/mads
parent68432e8d024beca0c60f5585fae71d355d2fa1df (diff)
downloadscummvm-rg350-6e27b523c0a633e7a4c9458bfed64b1c24666a65.tar.gz
scummvm-rg350-6e27b523c0a633e7a4c9458bfed64b1c24666a65.tar.bz2
scummvm-rg350-6e27b523c0a633e7a4c9458bfed64b1c24666a65.zip
MADS: Fix invalid parameter in error call
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/nebular/menu_nebular.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp
index c15cd1d283..11bace3158 100644
--- a/engines/mads/nebular/menu_nebular.cpp
+++ b/engines/mads/nebular/menu_nebular.cpp
@@ -613,7 +613,7 @@ void AnimationView::load() {
resName += ".res";
if (!_script.open(resName))
- error("Could not open resource %s", resName);
+ error("Could not open resource %s", resName.c_str());
processLines();
}