From aef1787daf0c2dbcd3b93736b57858fa5a2c96a9 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 30 Sep 2019 01:51:28 +0200 Subject: [PATCH] fixed a bug with monster placement in shmup --- shmup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shmup.cpp b/shmup.cpp index d1920160..2a78f229 100644 --- a/shmup.cpp +++ b/shmup.cpp @@ -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 {