mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 15:36:59 +00:00
Black Lotus achievements were awarded incorrectly in the OSM
This commit is contained in:
parent
602ea1801e
commit
41c4d8361b
6
game.cpp
6
game.cpp
@ -5550,9 +5550,9 @@ void movecost(cell* from, cell *to) {
|
|||||||
if(isHaunted(from->land) && !isHaunted(to->land)) {
|
if(isHaunted(from->land) && !isHaunted(to->land)) {
|
||||||
updateHi(itLotus, truelotus = items[itLotus]);
|
updateHi(itLotus, truelotus = items[itLotus]);
|
||||||
if(items[itLotus] >= 1) achievement_gain("LOTUS1");
|
if(items[itLotus] >= 1) achievement_gain("LOTUS1");
|
||||||
if(items[itLotus] >= 10) achievement_gain("LOTUS2");
|
if(items[itLotus] >= (inv::on ? 25 : 10)) achievement_gain("LOTUS2");
|
||||||
if(items[itLotus] >= 25) achievement_gain("LOTUS3");
|
if(items[itLotus] >= (inv::on ? 50 : 25)) achievement_gain("LOTUS3");
|
||||||
if(items[itLotus] >= 50) achievement_gain("LOTUS4");
|
if(items[itLotus] >= 50 && !inv::on) achievement_gain("LOTUS4");
|
||||||
achievement_final(false);
|
achievement_final(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user