mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +00:00
fixed a bug with monster placement in shmup
This commit is contained in:
parent
2e571ab337
commit
aef1787daf
@ -2292,7 +2292,7 @@ void moveMonster(monster *m, int delta) {
|
||||
if(stunned ? passable(c2, m->base, P_BLOW | reflectflag) : passable_for(m->type, c2, m->base, P_CHAIN | reflectflag)) {
|
||||
if(c2 != m->base && m->type == moButterfly)
|
||||
m->torigin = m->base;
|
||||
m->rebasePat(nat, m->base);
|
||||
m->rebasePat(nat, c2);
|
||||
if(m->type == moRagingBull && step > 1e-6) m->stunoff = CHARGING;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user