From 4041bcfb62f53f2e09a4da76a6a1efc3745b9add Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 1 May 2026 17:28:43 -0700
Subject: [PATCH] Removed --version command line option
---
game/main.cpp | 6 ------
1 file changed, 6 deletions(-)
diff --git a/game/main.cpp b/game/main.cpp
index 614dd343..29b578d2 100644
--- a/game/main.cpp
+++ b/game/main.cpp
@@ -52,9 +52,6 @@
#define MAELSTROM_ORGANIZATION "Ambrosia Software"
#define MAELSTROM_NAME "Maelstrom"
-static const char *Version =
-"Maelstrom v1.4.3 (GPL version 4.0.0) -- 10/08/2011 by Sam Lantinga\n";
-
// Global variables set in this file...
Bool gInitializing = false;
Bool gControlBrakes = false;
@@ -211,9 +208,6 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
} else if ( strcmp(argv[i], "-NSDocumentRevisionsDebugMode") == 0 && argv[i+1] ) {
// Ignore Xcode debug option
++i;
- } else if ( strcmp(argv[i], "--version") == 0 ) {
- error("%s", Version);
- return SDL_APP_SUCCESS;
} else {
PrintUsage(argv[0]);
return SDL_APP_FAILURE;