summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-03 11:40:16 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:13 +0000
commitcd01b7da984dbc08cafb110ab33f432c6fe963f5 (patch)
tree7bcd7c3223e34ee789574ee02b8faee8b6668463 /src/game/g_buildable.c
parentdc7aab757ad488f4b960e7de8750022a990a8af5 (diff)
* Consolidate memory allocation into bg_alloc.c
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index bad5e157..c8d07e4c 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -3728,7 +3728,7 @@ void G_LayoutLoad( void )
G_Printf( "ERROR: layout %s could not be opened\n", level.layout );
return;
}
- layout = G_Alloc( len + 1 );
+ layout = BG_Alloc( len + 1 );
trap_FS_Read( layout, len, f );
*( layout + len ) = '\0';
trap_FS_FCloseFile( f );