From 7a9f6fa830c87651ed7e21840edc702c89ecd4da Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 23 Jul 2020 12:20:57 +0200 Subject: [PATCH] the checkmate rule now takes tortoise calming into account --- pcmove.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcmove.cpp b/pcmove.cpp index e9b856e5..e5ee56a1 100644 --- a/pcmove.cpp +++ b/pcmove.cpp @@ -939,6 +939,8 @@ bool pcmove::attack() { plague_kills = 0; if(good_tortoise) { + changes.ccell(c2); + c2->stuntime = 2; changes.at_commit([c2] { items[itBabyTortoise] += 4; updateHi(itBabyTortoise, items[itBabyTortoise]); @@ -946,7 +948,6 @@ bool pcmove::attack() { tortoise::babymap[c2] = tortoise::seekbits; playSound(c2, playergender() ? "heal-princess" : "heal-prince"); addMessage(XLAT(playergender() == GEN_F ? "You are now a tortoise heroine!" : "You are now a tortoise hero!")); - c2->stuntime = 2; achievement_collection(itBabyTortoise); }); }