host.c (Host_Init): Do not exec quake.rc for dedicated servers. Instead,

exec autoexec.cfg and stuffcmds in that case. Also moved running the start
map for dedicated servers here.
host_cmd.c (Host_Startdemos_f): Moved running the start map for dedicated
servers to Host_Init().


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@234 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2010-06-26 08:45:40 +00:00
parent 1496d179e5
commit d65f8679a7
2 changed files with 16 additions and 10 deletions

View file

@ -2134,11 +2134,7 @@ void Host_Startdemos_f (void)
int i, c;
if (cls.state == ca_dedicated)
{
if (!sv.active)
Cbuf_AddText ("map start\n");
return;
}
c = Cmd_Argc() - 1;
if (c > MAX_DEMOS)