mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
never game over if you can use Freedom
This commit is contained in:
parent
e26c023fa5
commit
27b0823d74
4
game.cpp
4
game.cpp
@ -6082,7 +6082,7 @@ void checkmove() {
|
|||||||
|
|
||||||
#if CAP_INV
|
#if CAP_INV
|
||||||
if(inv::on && !canmove && !inv::incheck) {
|
if(inv::on && !canmove && !inv::incheck) {
|
||||||
if(inv::remaining[itOrbSafety])
|
if(inv::remaining[itOrbSafety] || inv::remaining[itOrbFreedom])
|
||||||
canmove = true;
|
canmove = true;
|
||||||
else {
|
else {
|
||||||
inv::check(1);
|
inv::check(1);
|
||||||
@ -6252,7 +6252,7 @@ void collectMessage(cell *c2, eItem which) {
|
|||||||
else if(which == itGreenStone)
|
else if(which == itGreenStone)
|
||||||
addMessage(XLAT("Another Dead Orb."));
|
addMessage(XLAT("Another Dead Orb."));
|
||||||
else if(itemclass(which) != IC_TREASURE) {
|
else if(itemclass(which) != IC_TREASURE) {
|
||||||
if(c2->wall != waBoat)
|
if(c2->wall != waBoat && !inv::activating)
|
||||||
addMessage(XLAT("You have found %the1!", which));
|
addMessage(XLAT("You have found %the1!", which));
|
||||||
}
|
}
|
||||||
else if(which == itBabyTortoise) {
|
else if(which == itBabyTortoise) {
|
||||||
|
Loading…
Reference in New Issue
Block a user