From 71ae45c81e14d5e4d7dff219b7188adfc9bf4387 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 27 Nov 2019 17:51:03 +0100 Subject: [PATCH] fixed Tentacle riding --- game.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/game.cpp b/game.cpp index c381c417..b6effc65 100644 --- a/game.cpp +++ b/game.cpp @@ -4814,12 +4814,12 @@ EX void moveWorm(cell *c) { if(id) { cell *c2 = c, *c3 = c2; while(c2->monst == moTentacletail || c2->monst == moTentacleGhost) { - auto mi = moveimon(c2); - if(!mi.proper()) return; - c3 = c2, c2 = mi.t; + auto mim = moveimon(c2).rev(); + if(!mim.proper()) return; + c3 = c2, c2 = mim.s; if(c3->monst != moTentacleGhost && c2->monst != moTentacleGhost) - mountmove(mi, true); - animateMovement(mi.rev(), LAYER_BIG); + mountmove(mim, true); + animateMovement(mim, LAYER_BIG); } }