From 15bd652f76560d93e8c5516d59180872cba05bb0 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 23 Feb 2003 01:00:56 +0000 Subject: * Aliens should now bleed green * Added debug logging for the "Cannot build item" bug --- src/game/g_cmds.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') 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 ) ); + } } -- cgit