mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 01:50:36 +00:00
fixed Orb of Chaos not calling moveItem
This commit is contained in:
parent
650108bad3
commit
3b1918535f
@ -699,6 +699,11 @@ void apply_chaos() {
|
||||
markOrb(itOrbChaos);
|
||||
copy_metadata(ca, &cob);
|
||||
copy_metadata(cb, &coa);
|
||||
|
||||
ca->item = coa.item;
|
||||
cb->item = cob.item;
|
||||
moveItem(ca, cb, false);
|
||||
|
||||
if(!switch_lhu_in(ca->land)) ca->LHU = coa.LHU;
|
||||
if(!switch_lhu_in(cb->land)) cb->LHU = cob.LHU;
|
||||
if(ca->monst && !(isFriendly(ca) && markOrb(itOrbEmpathy))) {
|
||||
|
Loading…
Reference in New Issue
Block a user