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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user