summaryrefslogtreecommitdiff
path: root/src/hexen/p_enemy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/p_enemy.c')
-rw-r--r--src/hexen/p_enemy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hexen/p_enemy.c b/src/hexen/p_enemy.c
index 4651d630..cb603e99 100644
--- a/src/hexen/p_enemy.c
+++ b/src/hexen/p_enemy.c
@@ -3533,7 +3533,7 @@ void A_FiredSpawnRock(mobj_t * actor)
{
mobj_t *mo;
int x, y, z;
- int rtype;
+ int rtype = 0;
switch (P_Random() % 5)
{
@@ -3970,7 +3970,7 @@ void A_SorcBallOrbit(mobj_t * actor)
break;
default:
I_Error("corrupted sorcerer");
- break;
+ return;
}
actor->angle = angle;
angle >>= ANGLETOFINESHIFT;
@@ -5047,7 +5047,7 @@ void A_KoraxDecide(mobj_t * actor)
void A_KoraxMissile(mobj_t * actor)
{
int type = P_Random() % 6;
- int sound;
+ int sound = 0;
S_StartSound(actor, SFX_KORAX_ATTACK);