mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
Don't warn about UDMF comments or user fields
This commit is contained in:
parent
ba146ed5e5
commit
e24ff0ac9c
1 changed files with 13 additions and 4 deletions
|
@ -761,7 +761,7 @@ public:
|
|||
ReadUserKey(ukey);
|
||||
loader->MapThingsUserData.Push(ukey);
|
||||
}
|
||||
else
|
||||
else if (stricmp("comment", key.GetChars()))
|
||||
{
|
||||
DPrintf(DMSG_WARNING, "Unknown UDMF thing key %s\n", key.GetChars());
|
||||
}
|
||||
|
@ -944,6 +944,8 @@ public:
|
|||
continue;
|
||||
|
||||
default:
|
||||
if (!stricmp("comment", key.GetChars()))
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1115,7 +1117,8 @@ public:
|
|||
break;
|
||||
|
||||
default:
|
||||
DPrintf(DMSG_WARNING, "Unknown UDMF linedef key %s\n", key.GetChars());
|
||||
if (strnicmp("user_", key.GetChars(), 5))
|
||||
DPrintf(DMSG_WARNING, "Unknown UDMF linedef key %s\n", key.GetChars());
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1229,6 +1232,8 @@ public:
|
|||
continue;
|
||||
|
||||
default:
|
||||
if (!stricmp("comment", key.GetChars()))
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1430,7 +1435,8 @@ public:
|
|||
break;
|
||||
|
||||
default:
|
||||
DPrintf(DMSG_WARNING, "Unknown UDMF sidedef key %s\n", key.GetChars());
|
||||
if (strnicmp("user_", key.GetChars(), 5))
|
||||
DPrintf(DMSG_WARNING, "Unknown UDMF sidedef key %s\n", key.GetChars());
|
||||
break;
|
||||
|
||||
}
|
||||
|
@ -1547,6 +1553,8 @@ public:
|
|||
continue;
|
||||
|
||||
default:
|
||||
if (!stricmp("comment", key.GetChars()))
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1935,7 +1943,8 @@ public:
|
|||
break;
|
||||
|
||||
default:
|
||||
DPrintf(DMSG_WARNING, "Unknown UDMF sector key %s\n", key.GetChars());
|
||||
if (strnicmp("user_", key.GetChars(), 5))
|
||||
DPrintf(DMSG_WARNING, "Unknown UDMF sector key %s\n", key.GetChars());
|
||||
break;
|
||||
}
|
||||
if ((namespace_bits & (Zd | Zdt)) && !strnicmp("user_", key.GetChars(), 5))
|
||||
|
|
Loading…
Reference in a new issue