Skip to content

Commit

Permalink
get rid of two obsolete assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
pionere committed Aug 11, 2024
1 parent 83d7117 commit 6c9c324
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Source/monster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4652,7 +4652,6 @@ void MissToMonst(int mi)
// assert(dPlayer[mon->_mx][mon->_my] == 0);
// assert(!(mon->_mFlags & MFLAG_HIDDEN));
//ChangeLightXYOff(mon->_mlid, mon->_mx, mon->_my);
assert(mon->_mdir == mis->_miDir);
MonStartStand(mnum);
/*if (mon->_mType >= MT_INCIN && mon->_mType <= MT_HELLBURN) {
MonStartFadein(mnum, false);
Expand Down
1 change: 0 additions & 1 deletion Source/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2915,7 +2915,6 @@ void MissToPlr(int mi, bool hit)
//ChangeLightXYOff(plr._plid, plr._px, plr._py);
//ChangeVisionXY(plr._pvid, plr._px, plr._py);
if (!hit || plr._pHitPoints < (1 << 6)) {
assert(plr._pdir == mis->_miDir);
PlrStartStand(pnum);
return;
}
Expand Down

0 comments on commit 6c9c324

Please sign in to comment.