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