1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-06 20:37:56 +00:00

fixed a bug in Hive generation

This commit is contained in:
Zeno Rogue
2025-08-18 15:14:56 +02:00
parent 35d8129bc4
commit d483e99c96

View File

@@ -1996,7 +1996,7 @@ EX namespace hive {
for(int i=0; i<c->type; i++) {
if(c->move(i) && c->move(i)->mpdist < c->mpdist) gdir = i;
}
if(!gdir) return;
if(gdir == -1) return;
cellwalker bf(c, gdir);
int radius = 9;
if(getDistLimit() <= 6) radius = 6;