From f5b26cc07a6a6ba01a88834b7dcfcc8c1f558679 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 5 Oct 2019 17:56:47 +0200 Subject: [PATCH] fixed an exploit in Orb Strategy Mode (a trick to gain extra Golems) --- complex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/complex.cpp b/complex.cpp index daef68dc..c6d6f6a0 100644 --- a/complex.cpp +++ b/complex.cpp @@ -2396,7 +2396,7 @@ EX void livecaves() { if(c->wall == waCavewall && c->item) c->wall = waCavefloor; if(c->land == laDeadCaves) c->land = laCaves; if(c->item == itSilver) c->item = itGold; - if(c->item == itGreenStone) c->item = itOrbLife; + if(c->item == itGreenStone && !inv::on) c->item = itOrbLife; if(c->monst == moEarthElemental) { addMessage(XLAT("%The1 is destroyed by the forces of Life!", c->monst)); fallMonster(c);