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
This commit is contained in:
terminx 2017-12-02 08:44:53 +00:00
parent c5ebf96217
commit bf2047bc0f

View file

@ -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;