Merge pull request #60 from Quuxplusone/polarb50

polara50 and polarb50 now consistently return bool, not int
This commit is contained in:
Zeno Rogue
2018-09-24 00:24:50 +02:00
committed by GitHub
4 changed files with 14 additions and 13 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ heptagon *createAlternateMap(cell *c, int rad, hstate firststate, int special) {
cell *c = bf.at;
if(cdist50(c) != 0) return NULL;
if(polarb50(c) != 1) return NULL;
if(!polarb50(c)) return NULL;
}
heptagon *alt = tailored_alloc<heptagon> (S7);