mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-20 11:54:48 +00:00
items[0] no longer is raised and is no longer displayed
This commit is contained in:
parent
06e9808eb4
commit
3f5af1f5bd
@ -669,7 +669,7 @@ EX void killMonster(cell *c, eMonster who, flagtype deathflags IS(0)) {
|
||||
if(who == moPlayer || (isFriendly(who) && items[itOrbEmpathy])) {
|
||||
eItem o = frog_power(m);
|
||||
if(o && who != moPlayer) markOrb2(itOrbEmpathy);
|
||||
items[o] += 5;
|
||||
if(o) items[o] += 5;
|
||||
}
|
||||
if(checkOrb(who, itOrbStone))
|
||||
petrify(c, waPetrified, m), pcount = 0;
|
||||
|
@ -222,8 +222,10 @@ EX bool collectItem(cell *c2, bool telekinesis IS(false)) {
|
||||
if(c2->item == itBarrow)
|
||||
for(int i=0; i<c2->landparam; i++) gainItem(c2->item);
|
||||
else if(c2->item) gainItem(c2->item);
|
||||
if(vid.bubbles_all || (among(items[c2->item], 5, 10, 25, 50, 100, 250, 500) && vid.bubbles_threshold))
|
||||
|
||||
if(c2->item && (vid.bubbles_all || (among(items[c2->item], 5, 10, 25, 50, 100, 250, 500) && vid.bubbles_threshold))) {
|
||||
drawBubble(c2, iinf[c2->item].color, its(items[c2->item]), 0.5);
|
||||
}
|
||||
|
||||
if(c2->item) {
|
||||
char ch = iinf[c2->item].glyph;
|
||||
|
Loading…
Reference in New Issue
Block a user