summaryrefslogtreecommitdiff
path: root/src/hexen/p_inter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/p_inter.c')
-rw-r--r--src/hexen/p_inter.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hexen/p_inter.c b/src/hexen/p_inter.c
index 15dfa5f8..587614ff 100644
--- a/src/hexen/p_inter.c
+++ b/src/hexen/p_inter.c
@@ -1280,7 +1280,7 @@ mobj_t *ActiveMinotaur(player_t * master)
void P_KillMobj(mobj_t * source, mobj_t * target)
{
- int dummy;
+ byte dummyArgs[3] = {0, 0, 0};
mobj_t *master;
target->flags &= ~(MF_SHOOTABLE | MF_FLOAT | MF_SKULLFLY | MF_NOGRAVITY);
@@ -1292,8 +1292,7 @@ void P_KillMobj(mobj_t * source, mobj_t * target)
{ // Initiate monster death actions
if (target->type == MT_SORCBOSS)
{
- dummy = 0;
- P_StartACS(target->special, 0, (byte *) & dummy, target, NULL, 0);
+ P_StartACS(target->special, 0, dummyArgs, target, NULL, 0);
}
else
{