fixed incorrect Raider killing

This commit is contained in:
Zeno Rogue 2020-03-07 23:44:13 +01:00
parent a0abb831f3
commit 664db4ae39
1 changed files with 1 additions and 1 deletions

View File

@ -496,9 +496,9 @@ bool switch_lhu_in(eLand l) {
void apply_chaos() {
cell *ca = (cwt+1).cpeek();
cell *cb = (cwt-1).cpeek();
if(!items[itOrbChaos] || chaos_forbidden(ca) || chaos_forbidden(cb)) return;
if(ca && is_paired(ca->monst)) killMonster(ca, moPlayer);
if(cb && is_paired(cb->monst)) killMonster(cb, moPlayer);
if(!items[itOrbChaos] || chaos_forbidden(ca) || chaos_forbidden(cb)) return;
changes.ccell(ca);
changes.ccell(cb);
gcell coa = *ca;