mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +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,9 +659,13 @@ void InitClassMap(FClassMap &themap, SpawnMap &thedata)
|
|||
pair->Value.filename.GetChars(), pair->Value.linenum, pair->Value.classname.GetChars());
|
||||
error++;
|
||||
}
|
||||
}
|
||||
themap.Insert(pair->Key, cls);
|
||||
}
|
||||
else
|
||||
{
|
||||
themap.Remove(pair->Key);
|
||||
}
|
||||
}
|
||||
if (error > 0)
|
||||
{
|
||||
I_Error("%d unknown actor classes found", error);
|
||||
|
|
Loading…
Reference in a new issue