Fixed a crash when opening the edit window for a linedef with action 402.

This commit is contained in:
MascaraSnake 2016-07-30 16:42:30 +02:00
parent 7e5c53cfc6
commit 732ae6481d
2 changed files with 2 additions and 2 deletions

View file

@ -535,7 +535,7 @@ namespace CodeImp.DoomBuilder.Windows
this.action.Name = "action";
this.action.Size = new System.Drawing.Size(412, 21);
this.action.TabIndex = 0;
this.action.Value = 402;
this.action.Value = -1;
this.action.ValueChanges += new System.EventHandler(this.action_ValueChanges);
//
// idgroup

View file

@ -280,7 +280,7 @@ namespace CodeImp.DoomBuilder.Windows
this.action.Name = "action";
this.action.Size = new System.Drawing.Size(402, 21);
this.action.TabIndex = 0;
this.action.Value = 402;
this.action.Value = -1;
this.action.ValueChanges += new System.EventHandler(this.action_ValueChanges);
//
// browseaction