MORTEVIELLE: The German version now starts with broken texts

This commit is contained in:
Strangerke 2013-07-03 00:38:51 +02:00
parent 51ab7a5b16
commit d3351c9460
2 changed files with 6 additions and 4 deletions

View File

@ -125,7 +125,7 @@ const int kArep = 1314;
const int kAmzon = 1650;
const int kArega = 0;
const int kMaxTi = 7975;
const int kMaxTi = 9000;
const int kMaxTd = 600;
const int kDescriptionStringIndex = 0; // Unused
@ -136,7 +136,7 @@ const int kMenuPlaceStringIndex = 435;
const int kMenuActionStringIndex = 476;
const int kMenuSelfStringIndex = 497;
const int kMenuSayStringIndex = 502;
const int kSecretPassageQuestionStringIndex = 510; // Unusued?
const int kSecretPassageQuestionStringIndex = 510; // Unused?
const int kMaxPatt = 20;
const int OPCODE_NONE = 0;

View File

@ -2082,8 +2082,10 @@ void MortevielleEngine::loadTexts() {
}
}
if (!ntpFile.open("TXX.NTP")) {
warning("Missing file - TXX.INP or .MOR - Switching to DAT file");
return;
if (!ntpFile.open("TXX.IND")) {
warning("Missing file - TXX.NTP or .IND - Switching to DAT file");
return;
}
}
if ((inpFile.size() > (kMaxTi * 2)) || (ntpFile.size() > (kMaxTd * 3))) {