mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
fixed a bug with Princess and Orb of Chaos
This commit is contained in:
parent
ca7f0cb4c3
commit
554b54e256
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user