r3804 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Thu Jul 10 01:48:12 EDT 2008
Author: div0
Date: 2008-07-10 01:48:12 -0400 (Thu, 10 Jul 2008)
New Revision: 3804
Modified:
trunk/data/qcsrc/server/defs.qh
Log:
compilation fix for fteqcc -O0
Modified: trunk/data/qcsrc/server/defs.qh
===================================================================
--- trunk/data/qcsrc/server/defs.qh 2008-07-09 19:31:25 UTC (rev 3803)
+++ trunk/data/qcsrc/server/defs.qh 2008-07-10 05:48:12 UTC (rev 3804)
@@ -212,6 +212,7 @@
// For weapon cycling commands
float WEP_FIRST = 1;
float WEP_LAST = 9;
+float WEP_COUNT = 10;
void(entity client, string s) centerprint_builtin = #73;
.vector dest1, dest2;
@@ -398,7 +399,7 @@
float bot_waypoints_for_items;
-.float attack_finished_for[WEP_LAST + 1];
+.float attack_finished_for[WEP_COUNT];
.float attack_finished_single;
#define ATTACK_FINISHED(ent) ((ent).(attack_finished_for[(ent).weapon]))
More information about the nexuiz-commits
mailing list