fixed a bug with Princess and Orb of Chaos

This commit is contained in:
Zeno Rogue 2020-03-06 14:22:44 +01:00
parent ca7f0cb4c3
commit 554b54e256
1 changed files with 4 additions and 0 deletions

View File

@ -513,6 +513,10 @@ void apply_chaos() {
ca->mondir = ((cwt+1)+wstep-sb).spin;
if(cb->mondir < cb->type)
cb->mondir = ((cwt+1)+wstep-sa).spin;
if(isPrincess(ca) && !isPrincess(cb))
princess::move(movei{cb, ca, JUMP});
if(isPrincess(cb) && !isPrincess(ca))
princess::move(movei{ca, cb, JUMP});
}
bool pcmove::actual_move() {