summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/bg_misc.c2
1 files changed, 1 insertions, 1 deletions
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 );