summaryrefslogtreecommitdiff
path: root/src/heretic/p_enemy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/p_enemy.c')
-rw-r--r--src/heretic/p_enemy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/heretic/p_enemy.c b/src/heretic/p_enemy.c
index 62f8dac5..b6c476f6 100644
--- a/src/heretic/p_enemy.c
+++ b/src/heretic/p_enemy.c
@@ -23,6 +23,7 @@
// P_enemy.c
+#include <stdlib.h>
#include "doomdef.h"
#include "p_local.h"
#include "soundst.h"
@@ -2375,7 +2376,7 @@ void A_BossDeath(mobj_t * actor)
void A_ESound(mobj_t * mo)
{
- int sound;
+ int sound = sfx_None;
switch (mo->type)
{
@@ -2446,7 +2447,7 @@ void A_AccTeleGlitter(mobj_t * actor)
void A_InitKeyGizmo(mobj_t * gizmo)
{
mobj_t *mo;
- statenum_t state;
+ statenum_t state = S_NULL;
switch (gizmo->type)
{