mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
Merge branch 'master' of https://github.com/zenorogue/hyperrogue
This commit is contained in:
commit
d06e94d480
@ -512,8 +512,8 @@ EX void killMonster(cell *c, eMonster who, flagtype deathflags IS(0)) {
|
||||
|
||||
if(m == moPrincess) {
|
||||
princess::info *i = princess::getPrincessInfo(c);
|
||||
changes.value_keep(*i);
|
||||
if(i) {
|
||||
changes.value_keep(*i);
|
||||
i->princess = NULL;
|
||||
if(i->bestdist == OUT_OF_PALACE) {
|
||||
items[itSavedPrincess]--;
|
||||
|
@ -978,7 +978,8 @@ EX void removeIvy(cell *c) {
|
||||
// note that semi-vines don't count
|
||||
if(c->move(i)->wall == waVinePlant) {
|
||||
destroyHalfvine(c);
|
||||
c->wall = waVinePlant;
|
||||
if (!do_not_touch_this_wall(c))
|
||||
c->wall = waVinePlant;
|
||||
}
|
||||
if(c->wall != waVinePlant) {
|
||||
if(m == moIvyDead)
|
||||
|
7
orbs.cpp
7
orbs.cpp
@ -99,9 +99,6 @@ EX bool reduceOrbPower(eItem it, int cap) {
|
||||
return true;
|
||||
}
|
||||
if(items[it] > cap && timerghost) items[it] = cap;
|
||||
#if CAP_COMPLEX2
|
||||
mine::auto_teleport_charges();
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -210,6 +207,10 @@ EX void reduceOrbPowers() {
|
||||
reduceOrbPower(itCurseRepulsion, 199);
|
||||
reduceOrbPower(itCurseGluttony, 199);
|
||||
|
||||
#if CAP_COMPLEX2
|
||||
mine::auto_teleport_charges();
|
||||
#endif
|
||||
|
||||
whirlwind::calcdirs(cwt.at);
|
||||
items[itStrongWind] = !items[itOrbAether] && whirlwind::qdirs == 1;
|
||||
items[itWarning] = 0;
|
||||
|
@ -409,7 +409,7 @@ bool sharkpassable(cell *w, cell *c) {
|
||||
EX bool canPushStatueOn(cell *c, flagtype flags) {
|
||||
return passable(c, NULL, P_MONSTER | flags) && !snakelevel(c) &&
|
||||
!isWorm(c->monst) && !isReptile(c->wall) && !peace::on &&
|
||||
!cellHalfvine(c) &&
|
||||
!cellHalfvine(c) && !isDie(c->wall) &&
|
||||
!among(c->wall, waBoat, waFireTrap, waArrowTrap);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user