Corrected formatting in Map.cpp

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2019-05-08 09:28:44 +02:00
parent 71015da19b
commit 1d0129e681

View file

@ -52,8 +52,7 @@ BOOL LoadMapData2(const char *path_map)
fread(&dum, 1, 1, fp); fread(&dum, 1, 1, fp);
// Get width and height // Get width and height
#ifdef NONPORTABLE #ifdef NONPORTABLE
// This fails on big-endian hardware, and platforms // This fails on big-endian hardware, and platforms where short is not two bytes long.
// where short is not two bytes long.
fread(&gMap.width, 2, 1, fp); fread(&gMap.width, 2, 1, fp);
fread(&gMap.length, 2, 1, fp); fread(&gMap.length, 2, 1, fp);
#else #else