From 231f5f84c6ba1d9c27f9594ba6531a30c9681f44 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 3 Oct 2009 11:55:24 +0000 Subject: * (bug 3742) BG_ParseCSVBuildableList uses wrong parse function (foruses@gmail.com) --- src/game/bg_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') diff --git a/src/game/bg_misc.c b/src/game/bg_misc.c index 270ae89b..cbc0425c 100644 --- a/src/game/bg_misc.c +++ b/src/game/bg_misc.c @@ -3620,7 +3620,7 @@ void BG_ParseCSVBuildableList( const char *string, buildable_t *buildables, int while( *q == ' ' ) q++; - buildables[ i ] = BG_ClassByName( q )->number; + buildables[ i ] = BG_BuildableByName( q )->number; if( buildables[ i ] == BA_NONE ) Com_Printf( S_COLOR_YELLOW "WARNING: unknown buildable %s\n", q ); -- cgit