Unify ad_dise

This commit is contained in:
Pasi Kallinen
2020-12-01 11:41:35 +02:00
parent 4118a7ea44
commit 376593dad5
3 changed files with 28 additions and 3 deletions

View File

@@ -1022,9 +1022,9 @@ register struct attack *mattk;
return mhm.hitflags;
break;
case AD_DISE:
hitmsg(mtmp, mattk);
if (!diseasemu(mdat))
mhm.damage = 0;
mhitm_ad_dise(mtmp, mattk, &g.youmonst, &mhm);
if (mhm.done)
return mhm.hitflags;
break;
case AD_FIRE:
mhitm_ad_fire(mtmp, mattk, &g.youmonst, &mhm);