From 30c223933384e9d170f503b9c8073a3b2a92cb22 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 24 Mar 2018 15:20:53 +0100 Subject: [PATCH] animate Baby Tortoise movement --- game.cpp | 1 + graph.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/game.cpp b/game.cpp index 3d145be5..9b377d88 100644 --- a/game.cpp +++ b/game.cpp @@ -3232,6 +3232,7 @@ void moveEffect(cell *ct, cell *cf, eMonster m) { if(cf && ct->item == itBabyTortoise && !cf->item) { cf->item = itBabyTortoise; ct->item = itNone; + animateMovement(ct, cf, LAYER_BOAT); tortoise::babymap[cf] = tortoise::babymap[ct]; tortoise::babymap.erase(ct); } diff --git a/graph.cpp b/graph.cpp index 45f0deac..ecc549c5 100644 --- a/graph.cpp +++ b/graph.cpp @@ -4672,11 +4672,11 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) { #endif if(it) { - if(c->land == laWhirlwind && c->wall != waBoat) { + if((c->land == laWhirlwind || c->item == itBabyTortoise) && c->wall != waBoat) { double footphase = 0; Vboat = &(Vboat0 = *Vboat); applyAnimation(c, Vboat0, footphase, LAYER_BOAT); - } + } if(cellHalfvine(c)) { int i =-1;