From cd01b7da984dbc08cafb110ab33f432c6fe963f5 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 3 Oct 2009 11:40:16 +0000 Subject: * Consolidate memory allocation into bg_alloc.c --- src/game/g_buildable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/g_buildable.c') 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 ); -- cgit