[nexuiz-commits] r7294 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Aug 3 07:41:32 EDT 2009
Author: mand1nga
Date: 2009-08-03 07:41:32 -0400 (Mon, 03 Aug 2009)
New Revision: 7294
Modified:
trunk/data/qcsrc/server/t_items.qc
Log:
Fix bots behavior with g_weapon_stay
Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc 2009-08-03 10:50:04 UTC (rev 7293)
+++ trunk/data/qcsrc/server/t_items.qc 2009-08-03 11:41:32 UTC (rev 7294)
@@ -483,7 +483,7 @@
if(player.weapons & item.weapons == item.weapons)
{
// If I can pick it up
- if(g_weapon_stay == 1)
+ if(g_weapon_stay)
c = 0;
else if(player.ammo_cells || player.ammo_shells || player.ammo_nails || player.ammo_rockets)
{
More information about the nexuiz-commits
mailing list