Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings
This commit is contained in:
1 parent
1ea7ab1f42
commit
23f6fd1633
85 files changed
+246
-496
No files matched your search
+1
-1
@@ -281,7 +281,7 @@ int Pickup_Health (gentity_t *ent, gentity_t *other) {
|
||||
|
||||
// small and mega healths will go over the max
|
||||
#ifdef MISSIONPACK
|
||||
if( other->client && bg_itemlist[other->client->ps.stats[STAT_PERSISTANT_POWERUP]].giTag == PW_GUARD ) {
|
||||
if( bg_itemlist[other->client->ps.stats[STAT_PERSISTANT_POWERUP]].giTag == PW_GUARD ) {
|
||||
max = other->client->ps.stats[STAT_MAX_HEALTH];
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user