Orb of Chaos: fixed landparam switching

This commit is contained in:
Zeno Rogue 2020-03-07 23:54:48 +01:00
parent a8d2b97c27
commit cef474469a
1 changed files with 2 additions and 2 deletions

View File

@ -505,8 +505,8 @@ void apply_chaos() {
gcell cob = *cb;
copy_metadata(ca, &cob);
copy_metadata(cb, &coa);
if(switch_lhu_in(ca->land)) ca->LHU = coa.LHU;
if(switch_lhu_in(cb->land)) cb->LHU = cob.LHU;
if(!switch_lhu_in(ca->land)) ca->LHU = coa.LHU;
if(!switch_lhu_in(cb->land)) cb->LHU = cob.LHU;
int sa = ca->mondir - ((cwt+1)+wstep).spin;
int sb = cb->mondir - ((cwt-1)+wstep).spin;
if(!(isFriendly(ca) && markOrb(itOrbEmpathy)))