Linedef Edit Form: disabled missing activation flags warning.

This commit is contained in:
MaxED 2014-09-11 17:49:44 +00:00
parent d916e54686
commit 814bf4704b

View file

@ -701,7 +701,8 @@ 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.Value != 0) // Too obnoxious...
/*if (General.Map.UDMF && action.Value != 0)
{ {
bool haveactivationflag = false; bool haveactivationflag = false;
foreach (CheckBox c in udmfactivates.Checkboxes) foreach (CheckBox c in udmfactivates.Checkboxes)
@ -716,7 +717,7 @@ namespace CodeImp.DoomBuilder.Windows
if (!haveactivationflag && if (!haveactivationflag &&
General.ShowWarningMessage("You are setting an action without any activation flags.\nIs that OK?", MessageBoxButtons.YesNo) == DialogResult.No) General.ShowWarningMessage("You are setting an action without any activation flags.\nIs that OK?", MessageBoxButtons.YesNo) == DialogResult.No)
return; return;
} }*/
//mxd //mxd
bool hasAcs = !action.Empty && Array.IndexOf(GZBuilder.GZGeneral.ACS_SPECIALS, action.Value) != -1; bool hasAcs = !action.Empty && Array.IndexOf(GZBuilder.GZGeneral.ACS_SPECIALS, action.Value) != -1;