mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
- Fixed endianness assumption when loading external map files.
SVN r2215 (trunk)
This commit is contained in:
parent
c079a3ea5b
commit
970cf6f71b
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue