1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 14:26:01 +00:00

added CAP_COMPLEX2 guards

This commit is contained in:
Zeno Rogue
2020-05-22 16:52:30 +02:00
parent 8a28d1483b
commit c39700d8de
6 changed files with 32 additions and 0 deletions

View File

@@ -84,9 +84,11 @@ EX bool collectItem(cell *c2, bool telekinesis IS(false)) {
if(c2->item == itDodeca && peace::on) peace::simon::extend();
}
#if CAP_COMPLEX2
if(c2->land == laHunting && c2->item && !inv::activating) {
ambush::ambush(c2, ambush::size(c2, c2->item));
}
#endif
if(isRevivalOrb(c2->item) && multi::revive_queue.size()) {
multiRevival(cwt.at, c2);