mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-12 12:14:08 +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++) {
|
for(int i=0; i<3; i++) {
|
||||||
double d;
|
double d;
|
||||||
int err = fscanf(f, "%lf", &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;
|
h[i] = d;
|
||||||
}
|
}
|
||||||
return h;
|
return h;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user