Stop custom FOF parser from crashing when the back upper texture is invalid

This commit is contained in:
MascaraSnake 2016-07-17 14:16:50 +02:00
parent 9cf8014098
commit 7e5c53cfc6
1 changed files with 1 additions and 0 deletions

View File

@ -779,6 +779,7 @@ namespace CodeImp.DoomBuilder.Map
string tex = Back.HighTexture;
try { value = Convert.ToInt32(Back.HighTexture, 16); }
catch (FormatException) { return; }
catch (ArgumentException) { return; }
}
else value = General.Map.Config.GetLinedefActionInfo(Action).Get3DFloorFlags(flags);