mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-04 03:00:47 +00:00
* Updated to ZDoom 3905:
- Fixed: Broke UDMF in PK3 loader. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1459 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
ad1f5007a4
commit
2f4ec97603
2 changed files with 5 additions and 8 deletions
|
@ -417,15 +417,12 @@ MapData *P_OpenMapData(const char * mapname)
|
|||
if (i == 1 && !strnicmp(lumpname, "TEXTMAP", 8))
|
||||
{
|
||||
map->isText = true;
|
||||
map->MapLumps[ML_TEXTMAP].Reader = map->resource->GetLump(i)->NewReader();
|
||||
strncpy(map->MapLumps[ML_TEXTMAP].Name, lumpname, 8);
|
||||
for(int i = 2;; i++)
|
||||
{
|
||||
lumpname = map->resource->GetLump(i)->Name;
|
||||
long v = strlen(lumpname);
|
||||
if (v < 8)
|
||||
{
|
||||
I_Error("Invalid map definition for %s", mapname);
|
||||
}
|
||||
else if (!strnicmp(lumpname, "ZNODES",8))
|
||||
if (!strnicmp(lumpname, "ZNODES",8))
|
||||
{
|
||||
index = ML_GLZNODES;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue