mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 22:39:53 +00:00
fixed incorrect warning message when loading pics
This commit is contained in:
parent
908d581c15
commit
7274e6ad20
@ -1631,7 +1631,7 @@ namespace mapeditor {
|
||||
for(int i=0; i<3; i++) {
|
||||
double d;
|
||||
int err = fscanf(f, "%lf", &d);
|
||||
if(err) printf("Warning: read error\n");
|
||||
if(err != 1) printf("Warning: read error\n");
|
||||
h[i] = d;
|
||||
}
|
||||
return h;
|
||||
|
Loading…
Reference in New Issue
Block a user