mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 07:27:07 +00:00
[10.3i] fixed gaining extra bullets in the Wild West
This commit is contained in:
parent
0f4de1fa9a
commit
941982be98
@ -2530,3 +2530,4 @@ non-game:
|
|||||||
- fixed a crash introduced in the last update
|
- fixed a crash introduced in the last update
|
||||||
- the Strange Challenge ON/OFF switch now shows the correct state (not the state of Random Pattern Mode)
|
- the Strange Challenge ON/OFF switch now shows the correct state (not the state of Random Pattern Mode)
|
||||||
- fixed the "chaos mode locked" help display
|
- fixed the "chaos mode locked" help display
|
||||||
|
- fixed Wild West (gaining extra bullets, shooting)
|
||||||
|
1
game.cpp
1
game.cpp
@ -3296,6 +3296,7 @@ void updateHi(eItem it, int v) {
|
|||||||
void gainItem(eItem it) {
|
void gainItem(eItem it) {
|
||||||
int g = gold();
|
int g = gold();
|
||||||
items[it]++; if(it != itLotus) updateHi(it, items[it]);
|
items[it]++; if(it != itLotus) updateHi(it, items[it]);
|
||||||
|
if(it == itRevolver && items[it] > 6) items[it] = 6;
|
||||||
achievement_collection(it, gold(), g);
|
achievement_collection(it, gold(), g);
|
||||||
multi::treasures[multi::cpid]++;
|
multi::treasures[multi::cpid]++;
|
||||||
#if CAP_DAILY
|
#if CAP_DAILY
|
||||||
|
Loading…
Reference in New Issue
Block a user