From 41c4d8361ba13f72747b793a7388381f05e27581 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 14 Aug 2017 20:38:17 +0200 Subject: [PATCH] Black Lotus achievements were awarded incorrectly in the OSM --- game.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/game.cpp b/game.cpp index a1330723..77c6bfc7 100644 --- a/game.cpp +++ b/game.cpp @@ -5550,9 +5550,9 @@ void movecost(cell* from, cell *to) { if(isHaunted(from->land) && !isHaunted(to->land)) { updateHi(itLotus, truelotus = items[itLotus]); if(items[itLotus] >= 1) achievement_gain("LOTUS1"); - if(items[itLotus] >= 10) achievement_gain("LOTUS2"); - if(items[itLotus] >= 25) achievement_gain("LOTUS3"); - if(items[itLotus] >= 50) achievement_gain("LOTUS4"); + if(items[itLotus] >= (inv::on ? 25 : 10)) achievement_gain("LOTUS2"); + if(items[itLotus] >= (inv::on ? 50 : 25)) achievement_gain("LOTUS3"); + if(items[itLotus] >= 50 && !inv::on) achievement_gain("LOTUS4"); achievement_final(false); }