From 6b337bc262f2a26a3aa7216b8007a93bedbde81b Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 17 Dec 2022 17:41:02 +0100 Subject: [PATCH] shmup:: cspin01 not spin --- shmup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shmup.cpp b/shmup.cpp index ec4b80b7..e1436306 100644 --- a/shmup.cpp +++ b/shmup.cpp @@ -1098,7 +1098,7 @@ void movePlayer(monster *m, int delta) { } else if(playergo[cpid]) { playergoturn[cpid] = igospan[igo]+godir[cpid]; - nat.T = shift_object(nat1.T, m->ori, spin(playergoturn[cpid]) * xtangent(playergo[cpid])); + nat.T = shift_object(nat1.T, m->ori, cspin(0, 1, playergoturn[cpid]) * xtangent(playergo[cpid])); m->inertia = spin(playergoturn[cpid]) * xtangent(playergo[cpid] / delta); }