diff --git a/extras/conf/udb/Includes/SRB222_linedefs.cfg b/extras/conf/udb/Includes/SRB222_linedefs.cfg
index e7d7b4337d7117356b6900cdde54d7ce6a72a741..1bd5055e2a7e23c2558199b3b5b1224cc8af8d59 100644
--- a/extras/conf/udb/Includes/SRB222_linedefs.cfg
+++ b/extras/conf/udb/Includes/SRB222_linedefs.cfg
@@ -1601,6 +1601,28 @@ udmf
 		}
 	}
 
+	202
+	{
+		title = "Fog Block";
+		prefix = "(202);
+		arg0
+		{
+			title = "Target sector tag";
+			type = 13;
+		}
+	}
+
+	223
+	{
+		title = "Intangible, Invisible";
+		prefix = "(223);
+		arg0
+		{
+			title = "Target sector tag";
+			type = 13;
+		}
+	}
+
 	linedefexecmisc
 	{
 		title = "Linedef Executor (misc.)";
diff --git a/src/p_setup.c b/src/p_setup.c
index 4379425df24f953878b0bee10c7247eb5c38b43d..cf5dbcbc796e4f6fd0aea21e20feb64c129b703d 100644
--- a/src/p_setup.c
+++ b/src/p_setup.c
@@ -2927,6 +2927,10 @@ static void P_ConvertBinaryMap(void)
 				lines[i].args[1] = 1;
 			lines[i].special = 200;
 			break;
+		case 202: //FOF: Fog block
+		case 223: //FOF: Intangible, invisible
+			lines[i].args[0] = lines[i].tag;
+			break;
 		case 443: //Call Lua function
 			if (lines[i].text)
 			{