diff options
author | Simon Howard | 2008-09-16 00:07:46 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-16 00:07:46 +0000 |
commit | 61e77600041ba534d824943320e7ddddb8e4f6ce (patch) | |
tree | fdaa4805bac62917f560644387ee43187dc08e05 /src/hexen/p_enemy.c | |
parent | a4d274e6419f89992dfef416ee9deadded533629 (diff) | |
download | chocolate-doom-61e77600041ba534d824943320e7ddddb8e4f6ce.tar.gz chocolate-doom-61e77600041ba534d824943320e7ddddb8e4f6ce.tar.bz2 chocolate-doom-61e77600041ba534d824943320e7ddddb8e4f6ce.zip |
Clean up some warnings in the Hexen code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1232
Diffstat (limited to 'src/hexen/p_enemy.c')
-rw-r--r-- | src/hexen/p_enemy.c | 6 |
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); |