summaryrefslogtreecommitdiff
path: root/source/gl_main.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-11-25 20:57:50 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-11-25 20:57:50 +0000
commitb00e7bd024285970dd00cfc75d8e690bfa475501 (patch)
tree22ceeee3027fd4872f5621650557bc8ae4391948 /source/gl_main.c
parent5eaaac93ad3b0d2777815717059d977912bd96f7 (diff)
Changed Com_sprintf --> Q_concat in quite some cases.
Make sure WAVE sound driver is built by default. Added --disable-wave option to `configure'. Command line history is now remembered between sessions. ALT+Space refreshes all servers in Server Browser. Handle command line agruments like original Q2 engine did.
Diffstat (limited to 'source/gl_main.c')
-rw-r--r--source/gl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gl_main.c b/source/gl_main.c
index 2475ded..38080cb 100644
--- a/source/gl_main.c
+++ b/source/gl_main.c
@@ -998,7 +998,7 @@ void GL_BeginRegistration( const char *name ) {
memset( &glr, 0, sizeof( glr ) );
glr.viewcluster1 = glr.viewcluster2 = -2;
- Com_sprintf( fullname, sizeof( fullname ), "maps/%s.bsp", name );
+ Q_concat( fullname, sizeof( fullname ), "maps/", name, ".bsp", NULL );
// check if the required world model was already loaded
if( !strcmp( r_world.name, fullname ) &&