From 7d5c63d8eee8d8adafba4b89b6c6f1e2e22ce343 Mon Sep 17 00:00:00 2001 From: alufolie91 Date: Fri, 1 Dec 2023 16:39:47 +0100 Subject: [PATCH] assign bool instead of if else thing --- src/p_setup.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/p_setup.c b/src/p_setup.c index 3167d8462..ee87f8657 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -3490,11 +3490,8 @@ UINT16 P_PartialAddWadFile(const char *wadfilename, boolean local) if (wadfiles[wadnum]->important) partadd_important = true; - - if (local) - wadfiles[wadnum]->localfile = true; - else - wadfiles[wadnum]->localfile = false; + + wadfiles[wadnum]->localfile = local; // // search for sound replacements