mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 13:07:16 +00:00
fix
This commit is contained in:
parent
04098490d3
commit
998778dcc2
@ -273,7 +273,7 @@ void read_unweighted(const char *fname) {
|
||||
}
|
||||
|
||||
void read_hubs(const string& fname) {
|
||||
if(!(state && SS_DATA)) throw hr_exception("read_hubs with no data");
|
||||
if(!(state & SS_DATA)) throw hr_exception("read_hubs with no data");
|
||||
hubval.resize(isize(vdata), -1);
|
||||
fhstream f(fname, "rt");
|
||||
if(!f.f) { printf("Failed to open hub file: %s\n", fname.c_str()); exit(1); }
|
||||
|
Loading…
Reference in New Issue
Block a user