aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorMarisa-Chan2014-12-29 15:30:12 +0600
committerFilippos Karapetis2014-12-30 01:32:43 +0200
commit45280d035afe29dc1f8971eac713ea1fdb64bfb5 (patch)
tree0831cbb01603ac9d63eea06eb0b1199a0ab800aa /engines/zvision
parentbbfff93c6455247d9875003cdfd18c09d0c30e0f (diff)
downloadscummvm-rg350-45280d035afe29dc1f8971eac713ea1fdb64bfb5.tar.gz
scummvm-rg350-45280d035afe29dc1f8971eac713ea1fdb64bfb5.tar.bz2
scummvm-rg350-45280d035afe29dc1f8971eac713ea1fdb64bfb5.zip
ZVISION: Fix font error message condition
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/zvision.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/zvision.cpp b/engines/zvision/zvision.cpp
index 88cc1e2fea..10e0aaedc4 100644
--- a/engines/zvision/zvision.cpp
+++ b/engines/zvision/zvision.cpp
@@ -255,7 +255,7 @@ Common::Error ZVision::run() {
_saveManager->loadGame(ConfMan.getInt("save_slot"));
// Before starting, make absolutely sure that the user has copied the needed fonts
- if (!Common::File::exists("arial.ttf") && !Common::File::exists("FreeSans.ttf")) {
+ if (!Common::File::exists("arial.ttf") && !Common::File::exists("FreeSans.ttf") && !_searchManager->hasFile("arial.ttf") && !_searchManager->hasFile("FreeSans.ttf") ) {
GUI::MessageDialog dialog(
"Before playing this game, you'll need to copy the required "
"fonts into ScummVM's extras directory, or into the game directory. "