- Fixed endianness assumption when loading external map files.

SVN r2215 (trunk)
This commit is contained in:
Randy Heit 2010-03-18 00:48:56 +00:00
parent c079a3ea5b
commit 970cf6f71b

View file

@ -404,7 +404,8 @@ MapData *P_OpenMapData(const char * mapname)
}
}
DWORD id;
(*map->file) >> id;
map->file->Read(&id, sizeof(id));
if (id == IWAD_ID || id == PWAD_ID)
{