summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-03 11:55:24 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:31 +0000
commit231f5f84c6ba1d9c27f9594ba6531a30c9681f44 (patch)
tree383c49312eb99f1db49ca1d39ed9ab2d4826e6cb /src/game
parentbf88e3e18ce55a397e2ec674c3541c606a0fe8ea (diff)
* (bug 3742) BG_ParseCSVBuildableList uses wrong parse function
(foruses@gmail.com)
Diffstat (limited to 'src/game')
-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 );