mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 00:47:00 +00:00
rulegen3:: genhoneycomb throws exception if rules not known
This commit is contained in:
parent
dc37e1ed23
commit
3cffc218e6
@ -1386,6 +1386,7 @@ vector<int> representative;
|
|||||||
|
|
||||||
void genhoneycomb(string fname) {
|
void genhoneycomb(string fname) {
|
||||||
if(WDIM != 3) throw hr_exception("genhoneycomb not in honeycomb");
|
if(WDIM != 3) throw hr_exception("genhoneycomb not in honeycomb");
|
||||||
|
if(!known()) throw hr_exception("rules not known");
|
||||||
|
|
||||||
int qc = isize(t_origin);
|
int qc = isize(t_origin);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user