From 7e5c53cfc6210646437391b15a3ceba4fb577081 Mon Sep 17 00:00:00 2001 From: MascaraSnake Date: Sun, 17 Jul 2016 14:16:50 +0200 Subject: [PATCH] Stop custom FOF parser from crashing when the back upper texture is invalid --- Source/Core/Map/Linedef.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Map/Linedef.cs b/Source/Core/Map/Linedef.cs index b5e3f40..c874b1c 100644 --- a/Source/Core/Map/Linedef.cs +++ b/Source/Core/Map/Linedef.cs @@ -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);