summaryrefslogtreecommitdiff
path: root/src/heretic/p_inter.c
diff options
context:
space:
mode:
authorSimon Howard2008-09-14 21:29:13 +0000
committerSimon Howard2008-09-14 21:29:13 +0000
commit609dca9fdf9a03500c0f4023da7bcc4389f36c52 (patch)
tree678cb25f1968bd8e282fa1d681458959f82a04e0 /src/heretic/p_inter.c
parent7019bf097b3adf2e079e92d363723e0c9b923d0c (diff)
downloadchocolate-doom-609dca9fdf9a03500c0f4023da7bcc4389f36c52.tar.gz
chocolate-doom-609dca9fdf9a03500c0f4023da7bcc4389f36c52.tar.bz2
chocolate-doom-609dca9fdf9a03500c0f4023da7bcc4389f36c52.zip
Silence some compiler warnings on heretic/hexen code.
Subversion-branch: /branches/raven-branch Subversion-revision: 1228
Diffstat (limited to 'src/heretic/p_inter.c')
-rw-r--r--src/heretic/p_inter.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/heretic/p_inter.c b/src/heretic/p_inter.c
index 5e65fb5c..85ee381a 100644
--- a/src/heretic/p_inter.c
+++ b/src/heretic/p_inter.c
@@ -1162,7 +1162,11 @@ void P_AutoUseHealth(player_t * player, int saveHealth)
int superCount;
int superSlot;
- normalCount = superCount = 0;
+ normalCount = 0;
+ superCount = 0;
+ normalSlot = 0;
+ superSlot = 0;
+
for (i = 0; i < player->inventorySlotNum; i++)
{
if (player->inventory[i].type == arti_health)