diff options
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r-- | src/game/g_cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 08824996..57cba07a 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -2436,7 +2436,7 @@ void Cmd_Build_f( gentity_t *ent ) char s[ MAX_TOKEN_CHARS ]; buildable_t buildable; float dist; - vec3_t origin; + vec3_t origin, normal; team_t team; if( ent->client->pers.namelog->denyBuild ) @@ -2475,7 +2475,7 @@ void Cmd_Build_f( gentity_t *ent ) ent->client->ps.stats[ STAT_BUILDABLE ] = BA_NONE; //these are the errors displayed when the builder first selects something to use - switch( G_CanBuild( ent, buildable, dist, origin ) ) + switch( G_CanBuild( ent, buildable, dist, origin, normal ) ) { // can place right away, set the blueprint and the valid togglebit case IBE_NONE: |