Skip to content
Snippets Groups Projects
Commit 9055170a authored by biwa's avatar biwa
Browse files

DECALDEF parser: fixed a crash when decal numbers were reused

parent 102e251f
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ namespace CodeImp.DoomBuilder.ZDoom
foreach (DecalInfo di in decals.Values)
{
if(di.Index != -1)
dict.Add(di.Index, di);
dict[di.Index] = di;
}
return dict;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment