From 9bcc1334b1f694b42a3b08736aba83cc260ed420 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Tue, 25 Sep 2018 11:37:04 +1000 Subject: [PATCH] C client: You can run the game without default.zip, just every texture will be white. --- src/Program.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Program.c b/src/Program.c index dd3290a8b..d797b8114 100644 --- a/src/Program.c +++ b/src/Program.c @@ -7,6 +7,7 @@ #include "Funcs.h" #include "ExtMath.h" #include "Utils.h" +#include "Drawer2D.h" //#define CC_TEST_VORBIS #ifdef CC_TEST_VORBIS @@ -57,14 +58,14 @@ int main(int argc, char** argv) { String_Format1(&defPath, "texpacks%rdefault.zip", &Directory_Separator); if (!File_Exists(&defPath)) { - ErrorHandler_ShowDialog("Failed to start", "default.zip is missing, try running launcher first"); - Platform_Exit(1); return 1; + ErrorHandler_ShowDialog("Missing file", + "default.zip is missing, try running launcher first.\n\nThe game will still run, but without any textures"); } String args[PROGRAM_MAX_CMDARGS]; Int32 argsCount = Platform_GetCommandLineArgs(argc, argv, args); /* NOTE: Make sure to comment this out before pushing a commit */ - //String rawArgs = String_FromConst("UnknownShadow200 b012427cdde15b18f47c0ce172853652 34.241.221.25 27020"); + //String rawArgs = String_FromConst("UnknownShadow200 fffff 127.0.0.1 25565"); //argsCount = 4; String_UNSAFE_Split(&rawArgs, ' ', args, &argsCount); if (argsCount == 0) {