mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-27 08:23:08 +00:00
use find_file in nonisotropic and netgen
This commit is contained in:
1 parent
6bc9139b2f
commit
2c92a781da
2 files changed
+2
-3
No files matched your search
+1
-1
@@ -140,7 +140,7 @@ EX namespace netgen {
|
||||
|
||||
void loadData() {
|
||||
|
||||
fhstream f("papermodeldata.txt", "rt");
|
||||
fhstream f(find_file("papermodeldata.txt"), "rt");
|
||||
if(!f.f) return;
|
||||
|
||||
if(!scan(f, CELLS, SX, SY, PX, PY, nscale, BASE, el, created)) return;
|
||||
|
||||
Reference in new issue
Block a user