mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-13 07:46:00 +00:00
fixed Orb of Recall charges being given incorrectly
This commit is contained in:
2
orbs.cpp
2
orbs.cpp
@@ -220,7 +220,7 @@ EX void reduceOrbPowers() {
|
|||||||
mine::auto_teleport_charges();
|
mine::auto_teleport_charges();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(orbs_drained && items[itOrbRecall] <= 10)
|
if(orbs_drained && items[itOrbRecall] && items[itOrbRecall] <= 10)
|
||||||
items[itOrbRecall] = 11;
|
items[itOrbRecall] = 11;
|
||||||
reduceOrbPower(itOrbRecall, 77);
|
reduceOrbPower(itOrbRecall, 77);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user