aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devtools/create_titanic/create_titanic_dat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/create_titanic/create_titanic_dat.cpp b/devtools/create_titanic/create_titanic_dat.cpp
index ccfaf54458..16e235f5fd 100644
--- a/devtools/create_titanic/create_titanic_dat.cpp
+++ b/devtools/create_titanic/create_titanic_dat.cpp
@@ -1737,7 +1737,7 @@ int main(int argc, char *argv[]) {
}
resEng.loadFromEXE(argv[1]);
- if (argc >= 3) {
+ if (argc == 4) {
resGer.loadFromEXE(argv[2]);
}
@@ -1764,7 +1764,7 @@ int main(int argc, char *argv[]) {
writeHeader();
writeData();
- if (argc >= 3) {
+ if (argc == 4) {
inputFile.open(argv[2]);
_version = GERMAN;
writeGermanData();