mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-18 20:08:06 +00:00
polara50 and polarb50 now consistently return bool, not int.
MSVC complains about constructions such as
bool polara50(int);
int polara50(cell *c) {
// ...
return polara50(someint);
}
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user