mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-01-31 10:40:33 +00:00
- fixed: IDs that map to nothing must be removed from the spawn/conversation ID maps.
This commit is contained in:
parent
8d501fdb9f
commit
a54404074a
1 changed files with 5 additions and 1 deletions
|
@ -659,8 +659,12 @@ void InitClassMap(FClassMap &themap, SpawnMap &thedata)
|
||||||
pair->Value.filename.GetChars(), pair->Value.linenum, pair->Value.classname.GetChars());
|
pair->Value.filename.GetChars(), pair->Value.linenum, pair->Value.classname.GetChars());
|
||||||
error++;
|
error++;
|
||||||
}
|
}
|
||||||
|
themap.Insert(pair->Key, cls);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
themap.Remove(pair->Key);
|
||||||
}
|
}
|
||||||
themap.Insert(pair->Key, cls);
|
|
||||||
}
|
}
|
||||||
if (error > 0)
|
if (error > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue