Browse Source

:note: Update MPQ error messages

pull/1898/head
Anders Jenbo 5 years ago
parent
commit
dbf5662ce6
  1. 2
      Source/appfat.cpp
  2. 4
      Source/qol/monhealthbar.cpp
  3. 4
      Source/qol/xpbar.cpp

2
Source/appfat.cpp

@ -160,7 +160,7 @@ void InsertCDDlg()
"%s",
_("Unable to open main data archive (diabdat.mpq or spawn.mpq).\n"
"\n"
"Make sure that it is in the game folder and that the file name is in all lowercase."));
"Make sure that it is in the game folder."));
UiErrorOkDialog(_("Data File Error"), text);
app_fatal(nullptr);

4
Source/qol/monhealthbar.cpp

@ -32,7 +32,9 @@ void InitMonsterHealthBar()
if ((healthBox.surface == nullptr)
|| (health.surface == nullptr)
|| (resistance.surface == nullptr)) {
app_fatal("%s", _("Failed to load UI resources. Is devilutionx.mpq accessible and up to date?"));
app_fatal("%s", _("Failed to load UI resources.\n"
"\n"
"Make sure devilutionx.mpq is in the game folder and that it is up to date."));
}
}

4
Source/qol/xpbar.cpp

@ -49,7 +49,9 @@ void InitXPBar()
LoadMaskedArt("data\\xpbar.pcx", &xpbarArt, 1, 1);
if (xpbarArt.surface == nullptr) {
app_fatal("%s", _("Failed to load UI resources. Is devilutionx.mpq accessible and up to date?"));
app_fatal("%s", _("Failed to load UI resources.\n"
"\n"
"Make sure devilutionx.mpq is in the game folder and that it is up to date."));
}
}
}

Loading…
Cancel
Save