diff --git a/engine/sw/d_trans.c b/engine/sw/d_trans.c index e896573f2..7ee0d5a36 100644 --- a/engine/sw/d_trans.c +++ b/engine/sw/d_trans.c @@ -344,7 +344,7 @@ void MakeVideoPalette(void) FILE *f; char filename[11]; - if (strlen(r_palconvbits.string) < 3) + if (strlen(r_palconvbits.string) != 3) { // r5g6b5 is default rs = 5;