summaryrefslogtreecommitdiff
path: root/source/gl_main.c
diff options
context:
space:
mode:
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 ) &&