From 31f8cb4def39aa3eb200a2c88c8f469c58c468d9 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Tue, 26 Nov 2019 08:24:26 +0000 Subject: [PATCH] SW: Fix an assertion failure in palette changing code git-svn-id: https://svn.eduke32.com/eduke32@8300 1a8010ca-5511-0410-912e-c29ae57300e0 # Conflicts: # source/build/src/palette.cpp --- source/build/src/palette.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/palette.cpp b/source/build/src/palette.cpp index 16fedf317..bc0c09090 100644 --- a/source/build/src/palette.cpp +++ b/source/build/src/palette.cpp @@ -747,7 +747,7 @@ void videoSetPalette(char dabrightness, uint8_t dapalid, uint8_t flags) int32_t palsumdidchange; // uint32_t lastbright = curbrightness; - Bassert((flags & 4) == 0); + // Bassert((flags&4)==0); // What is so bad about this flag? if (/*(unsigned)dapalid >= MAXBASEPALS ||*/ basepaltable[dapalid] == NULL) dapalid = 0;