1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-05 06:41:23 +00:00

removed the variable 'showoff'

This commit is contained in:
Zeno Rogue
2020-03-27 19:53:59 +01:00
parent a2b7da728a
commit 32baf01192
4 changed files with 6 additions and 7 deletions

View File

@@ -1332,10 +1332,13 @@ EX bool quickfind(eLand l) {
#define I2000 (INVLUCK?600:2000)
#define I10000 (INVLUCK?3000:10000)
EX hookset<int(cell*, bool)> *hooks_wallchance;
EX int wallchance(cell *c, bool deepOcean) {
int i = callhandlers(-1, hooks_wallchance, c, deepOcean);
if(i != -1) return i;
eLand l = c->land;
return
showoff ? (cwt.at->mpdist > 7 ? 0 : 10000) :
inmirror(c) ? 0 :
isGravityLand(l) ? 0 :
generatingEquidistant ? 0 :