mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-27 22:24:05 +00:00
fixed the lack of bound on lives in the shmup mode
This commit is contained in:
2
game.cpp
2
game.cpp
@@ -6815,7 +6815,7 @@ EX bool cantGetGrimoire(cell *c2, bool verbose IS(true)) {
|
||||
|
||||
EX void gainLife() {
|
||||
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) {
|
||||
|
Reference in New Issue
Block a user