mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- fixed erroneous removal of property flag members
https://forum.zdoom.org/viewtopic.php?t=63520
This commit is contained in:
parent
25071e26e5
commit
20f29ab808
1 changed files with 3 additions and 1 deletions
|
@ -589,7 +589,9 @@ void RemoveUnusedSymbols()
|
||||||
PSymbolTable::MapType::Pair *pair;
|
PSymbolTable::MapType::Pair *pair;
|
||||||
while (it.NextPair(pair))
|
while (it.NextPair(pair))
|
||||||
{
|
{
|
||||||
if (!pair->Value->IsKindOf(RUNTIME_CLASS(PField)) && !pair->Value->IsKindOf(RUNTIME_CLASS(PFunction)))
|
if ( !pair->Value->IsKindOf(RUNTIME_CLASS(PField))
|
||||||
|
&& !pair->Value->IsKindOf(RUNTIME_CLASS(PFunction))
|
||||||
|
&& !pair->Value->IsKindOf(RUNTIME_CLASS(PPropFlag)) )
|
||||||
{
|
{
|
||||||
ty->Symbols.RemoveSymbol(pair->Value);
|
ty->Symbols.RemoveSymbol(pair->Value);
|
||||||
count++;
|
count++;
|
||||||
|
|
Loading…
Reference in a new issue