shithub: choc

Download patch

ref: 7733f557f29d5ebf5328ff2e46bd3204b9638fb0
parent: 8ede3a584620f43c0b40599308a6f3c77074f2fc
author: Acts 19 quiz <N/A>
date: Fri Dec 31 08:47:43 EST 2021

Add line-break to long doom2f conditions check.

--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -1528,7 +1528,8 @@
     {
         gamevariant = bfgedition;
     }
-    else if (gamemission == doom2 && W_CheckNumForName("M_RDTHIS") < 0 && W_CheckNumForName("M_EPISOD") < 0 && W_CheckNumForName("M_EPI1") < 0 && W_CheckNumForName("M_EPI2") < 0 && W_CheckNumForName("M_EPI3") < 0 && W_CheckNumForName("WIOSTF") < 0 && W_CheckNumForName("WIOBJ") >= 0)
+    else if (gamemission == doom2 && W_CheckNumForName("M_RDTHIS") < 0 && W_CheckNumForName("M_EPISOD") < 0 && W_CheckNumForName("M_EPI1") < 0
+          && W_CheckNumForName("M_EPI2") < 0 && W_CheckNumForName("M_EPI3") < 0 && W_CheckNumForName("WIOSTF") < 0 && W_CheckNumForName("WIOBJ") >= 0)
     {
         gamevariant = doom2f;
     }