assign bool instead of if else thing

This commit is contained in:
alufolie91 committed 2023-12-01 16:39:47 +01:00
1 parent 39b70b3686
commit 7d5c63d8ee
1 file changed
+2 -5
+2 -5
View File
@@ -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