Linedef Edit Form, UDMF: missing activation flags warning was shown even when action was 0...

This commit is contained in:
MaxED 2014-09-10 16:56:29 +00:00
parent 7b70316b86
commit 422c605bc7

View file

@ -701,7 +701,7 @@ namespace CodeImp.DoomBuilder.Windows
} }
// Check if we have at least one activation flag when there's an action in UDMF map format (mxd) // Check if we have at least one activation flag when there's an action in UDMF map format (mxd)
if (General.Map.UDMF && !action.Empty) if (General.Map.UDMF && !action.Empty && action.Value != 0)
{ {
bool haveactivationflag = false; bool haveactivationflag = false;
foreach (CheckBox c in udmfactivates.Checkboxes) foreach (CheckBox c in udmfactivates.Checkboxes)