Corrected formatting in Map.cpp
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
71015da19b
commit
1d0129e681
1 changed files with 17 additions and 18 deletions
|
@ -52,8 +52,7 @@ BOOL LoadMapData2(const char *path_map)
|
|||
fread(&dum, 1, 1, fp);
|
||||
// Get width and height
|
||||
#ifdef NONPORTABLE
|
||||
// This fails on big-endian hardware, and platforms
|
||||
// where short is not two bytes long.
|
||||
// This fails on big-endian hardware, and platforms where short is not two bytes long.
|
||||
fread(&gMap.width, 2, 1, fp);
|
||||
fread(&gMap.length, 2, 1, fp);
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue