diff options
Diffstat (limited to 'src/hexen/p_maputl.c')
-rw-r--r-- | src/hexen/p_maputl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hexen/p_maputl.c b/src/hexen/p_maputl.c index 9e0ece1f..f7790540 100644 --- a/src/hexen/p_maputl.c +++ b/src/hexen/p_maputl.c @@ -964,7 +964,7 @@ static mobj_t *RoughBlockCheck(mobj_t * mo, int index) continue; } if ((link->type == MT_MINOTAUR) && - (((mobj_t *) link->special1) == mo)) + (link->special1.m == mo)) { link = link->bnext; continue; @@ -983,7 +983,7 @@ static mobj_t *RoughBlockCheck(mobj_t * mo, int index) } else if (mo->type == MT_MINOTAUR) // looking around minotaur { - master = (mobj_t *) mo->special1; + master = mo->special1.m; if ((link->flags & MF_COUNTKILL) || (link->player && (link != master))) { @@ -998,7 +998,7 @@ static mobj_t *RoughBlockCheck(mobj_t * mo, int index) continue; } if ((link->type == MT_MINOTAUR) && - (link->special1 == mo->special1)) + (link->special1.m == mo->special1.m)) { link = link->bnext; continue; |