From bf2047bc0f7ae776559c552e06fea7b6e0bb4180 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 2 Dec 2017 08:44:53 +0000 Subject: [PATCH] Print message to console at startup when successfully loading a RTS file instead of when the RTS file is missing git-svn-id: https://svn.eduke32.com/eduke32@6533 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/rts.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/duke3d/src/rts.cpp b/source/duke3d/src/rts.cpp index a25a85135..c05e80842 100644 --- a/source/duke3d/src/rts.cpp +++ b/source/duke3d/src/rts.cpp @@ -48,11 +48,11 @@ static int32_t RTS_AddFile(const char *filename) // FIXME: shared opens handle = kopen4loadfrommod(filename, 0); + if (handle < 0) - { - initprintf("RTS file \"%s\" was not found\n",filename); return -1; - } + else + initprintf("RTS file \"%s\" loaded\n", filename); startlump = rts_numlumps;