aboutsummaryrefslogtreecommitdiff
path: root/engines/toon
diff options
context:
space:
mode:
Diffstat (limited to 'engines/toon')
-rw-r--r--engines/toon/toon.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index 43fb3a1b1f..b0cbe80cfd 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -4909,12 +4909,13 @@ void ToonEngine::createShadowLUT() {
bool ToonEngine::loadToonDat() {
Common::File in;
Common::String msg;
+ Common::String filename = "toon.dat";
int majVer, minVer;
- in.open("toon.dat");
+ in.open(filename.c_str());
if (!in.isOpen()) {
- msg = _("You're missing the 'toon.dat' file. Get it from the ScummVM website");
+ msg = Common::String::format(_("You're missing the '%s' file. Get it from the ScummVM website"), filename.c_str());
GUIErrorMessage(msg);
warning("%s", msg.c_str());
return false;