fixed incorrect warning message when loading pics

This commit is contained in:
Zeno Rogue committed 2017-11-07 14:42:12 +01:00
1 parent 908d581c15
commit 7274e6ad20
1 file changed
+1 -1
+1 -1
View File
@@ -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;