Update to commit b83e48657bac55e4137c225318c0d80d3953d5c9 dated August 15, 2020....
[inform.git] / src / directs.c
index b802d5ec7e6bfbbea86a8467efb022410450063f..2fbc40bc369150f49b2ad3bd613378a5d5578038 100644 (file)
@@ -434,11 +434,13 @@ Fake_Action directives to a point after the inclusion of \"Parser\".)");
         break;
 
     case IFV3_CODE:
-        flag = FALSE; if (version_number == 3) flag = TRUE;
+        flag = FALSE;
+        if (!glulx_mode && version_number <= 3) flag = TRUE;
         goto HashIfCondition;
 
     case IFV5_CODE:
-        flag = TRUE; if (version_number == 3) flag = FALSE;
+        flag = TRUE;
+        if (!glulx_mode && version_number <= 3) flag = FALSE;
         goto HashIfCondition;
 
     case IFTRUE_CODE: