mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2025-03-12 22:01:31 +00:00
Fixed a crash in LinedefActionInfo.Get3DFloorFlags()
This commit is contained in:
parent
1a350c0f55
commit
bf291bbe5e
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ namespace CodeImp.DoomBuilder.Config
|
|||
int value = threedfloorflags;
|
||||
foreach (KeyValuePair<string,int> p in threedfloorflagsadditions)
|
||||
{
|
||||
if (setflags[p.Key]) value += p.Value;
|
||||
if (setflags.ContainsKey(p.Key) && setflags[p.Key]) value += p.Value;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue