mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-06-01 17:32:35 +00:00
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:
parent
1496d179e5
commit
d65f8679a7
2 changed files with 16 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue