summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-02-23 01:00:56 +0000
committerTim Angus <tim@ngus.net>2003-02-23 01:00:56 +0000
commit15bd652f76560d93e8c5516d59180872cba05bb0 (patch)
tree2331f1d51cab3071a12fa39f68984d8831be2e85 /src
parent5a8fa83861dd1eaad120e83d107afeecf8b2a8eb (diff)
* Aliens should now bleed green
* Added debug logging for the "Cannot build item" bug
Diffstat (limited to 'src')
-rw-r--r--src/game/g_cmds.c7
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 ) );
+ }
}