1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 17:40:36 +00:00

fixed the lack of bound on lives in the shmup mode

This commit is contained in:
Zeno Rogue 2019-08-10 20:48:03 +02:00
parent af08d169d8
commit dabd7889e8

View File

@ -6815,7 +6815,7 @@ EX bool cantGetGrimoire(cell *c2, bool verbose IS(true)) {
EX void gainLife() { EX void gainLife() {
items[itOrbLife] ++; items[itOrbLife] ++;
if(items[itOrbLife] > 5 && !shmup::on) items[itOrbLife] = 5; if(items[itOrbLife] > 5 && !inv::on) items[itOrbLife] = 5;
} }
EX void collectMessage(cell *c2, eItem which) { EX void collectMessage(cell *c2, eItem which) {