Refactoring patch by DevHC
This commit is contained in:
1 parent
21668c0616
commit
fef4d12d68
31 files changed
+60
-98
No files matched your search
@@ -469,7 +469,7 @@ void ClientTimerActions( gentity_t *ent, int msec ) {
|
||||
if( bg_itemlist[client->ps.stats[STAT_PERSISTANT_POWERUP]].giTag == PW_AMMOREGEN ) {
|
||||
int w, max, inc, t, i;
|
||||
int weapList[]={WP_MACHINEGUN,WP_SHOTGUN,WP_GRENADE_LAUNCHER,WP_ROCKET_LAUNCHER,WP_LIGHTNING,WP_RAILGUN,WP_PLASMAGUN,WP_BFG,WP_NAILGUN,WP_PROX_LAUNCHER,WP_CHAINGUN};
|
||||
int weapCount = sizeof(weapList) / sizeof(int);
|
||||
int weapCount = ARRAY_LEN( weapList );
|
||||
//
|
||||
for (i = 0; i < weapCount; i++) {
|
||||
w = weapList[i];
|
||||
|
||||
Reference in new issue
Block a user