Reverted part of 60a88a08f5

All 8 bytes must be read from file to match output from vmap4extractor
This commit is contained in:
Shauren
2013-05-18 21:33:03 +02:00
parent 7058d8bb4c
commit 8e339e8558

View File

@@ -498,10 +498,9 @@ namespace VMAP
}
char ident[8];
ident[7] = 0;
int readOperation = 0;
READ_OR_RETURN(&ident, 7);
READ_OR_RETURN(&ident, 8);
CMP_OR_RETURN(ident, RAW_VMAP_MAGIC);
// we have to read one int. This is needed during the export and we have to skip it here