summaryrefslogtreecommitdiff
path: root/source/r_bsp.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/r_bsp.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/r_bsp.c')
-rw-r--r--source/r_bsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/r_bsp.c b/source/r_bsp.c
index 2c0dd3f..b3090db 100644
--- a/source/r_bsp.c
+++ b/source/r_bsp.c
@@ -240,7 +240,7 @@ static void Bsp_LoadTexinfo( lump_t *lump ) {
dst->animNext = NULL;
}
- Com_sprintf( path, sizeof( path ), "textures/%s.wal", dst->name );
+ Q_concat( path, sizeof( path ), "textures/", dst->name, ".wal", NULL );
texture = R_FindImage( path, it_wall );
if( texture ) {
dst->image = texture;