This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 9a70228140b3d9ff798e7d5ee424bb8d01c814ae
Author: m4n4t4...@gmail.com 
<m4n4t4...@gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Wed Jan 29 00:48:14 2014 +0000

    MP: Add ability for server to load a map-specific config on map load
---
 MP/code/server/sv_init.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/MP/code/server/sv_init.c b/MP/code/server/sv_init.c
index 9264ed3..832438f 100644
--- a/MP/code/server/sv_init.c
+++ b/MP/code/server/sv_init.c
@@ -612,6 +612,9 @@ void SV_SpawnServer( char *server, qboolean killBots ) {
 #endif
        FS_Restart( sv.checksumFeed );
 
+       // Load map config if present
+       Cbuf_ExecuteText(EXEC_NOW, va( "exec mapcfgs/%s.cfg\n", server ) );
+
        CM_LoadMap( va( "maps/%s.bsp", server ), qfalse, &checksum );
 
        // set serverinfo visible name

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/iortcw.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to