]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
sv_main: Use modelname when warning of no such map
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 10 Aug 2020 11:46:44 +0000 (11:46 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 10 Aug 2020 11:46:44 +0000 (11:46 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12895 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c

index 18a2f41cab1bc3b1dd030762c8485693aeb2df49..a7a99deacaa2773935d2cc21bfb19a6bd7acc001 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -3413,7 +3413,7 @@ void SV_SpawnServer (const char *map)
                dpsnprintf (modelname, sizeof(modelname), "maps/%s", map);
                if (!FS_FileExists(modelname))
                {
-                       Con_Printf("SpawnServer: no map file named maps/%s.bsp\n", map);
+                       Con_Printf("SpawnServer: no map file named %s\n", modelname);
                        return;
                }
        }