diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_cmds.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index e85b775d..2a99fb53 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1817,7 +1817,14 @@ void Cmd_Build_f( gentity_t *ent ) } } else + { trap_SendServerCommand( ent-g_entities, va( "print \"Cannot build this item\n\"" ) ); + + G_LogPrintf( "Client %d tried to build %d using weapon %d\n", + ent->client->ps.clientNum, + buildable, + ( 1 << ent->client->ps.weapon ) & BG_FindBuildWeaponForBuildable( buildable ) ); + } } |