summaryrefslogtreecommitdiff
path: root/source/sw_model.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sw_model.c')
-rw-r--r--source/sw_model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sw_model.c b/source/sw_model.c
index 653cdfd..68e2e13 100644
--- a/source/sw_model.c
+++ b/source/sw_model.c
@@ -288,7 +288,7 @@ void R_BeginRegistration( const char *model ) {
Q_concat( fullname, sizeof( fullname ), "maps/", model, ".bsp", NULL );
D_FlushCaches ();
- bsp = BSP_Load( fullname );
+ BSP_Load( fullname, &bsp );
if( bsp == r_worldmodel ) {
mtexinfo_t *tex = bsp->texinfo;
int i;