mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-27 21:23:19 +00:00
fixed incorrect Raider killing
This commit is contained in:
parent
a0abb831f3
commit
664db4ae39
@ -496,9 +496,9 @@ bool switch_lhu_in(eLand l) {
|
|||||||
void apply_chaos() {
|
void apply_chaos() {
|
||||||
cell *ca = (cwt+1).cpeek();
|
cell *ca = (cwt+1).cpeek();
|
||||||
cell *cb = (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(ca && is_paired(ca->monst)) killMonster(ca, moPlayer);
|
||||||
if(cb && is_paired(cb->monst)) killMonster(cb, 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(ca);
|
||||||
changes.ccell(cb);
|
changes.ccell(cb);
|
||||||
gcell coa = *ca;
|
gcell coa = *ca;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user