From 8b2db1b142224eef4f85d8515b196ca530ce8298 Mon Sep 17 00:00:00 2001 From: Diomendius <42310725+Diomendius@users.noreply.github.com> Date: Tue, 11 Jun 2024 02:13:55 +1200 Subject: [PATCH] Fix equality test in gpr2gpa.cpp I don't think this actually gets hit when converting the base Glider PRO resources, but it's an obvious error that makes the condition always true. --- gpr2gpa/gpr2gpa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpr2gpa/gpr2gpa.cpp b/gpr2gpa/gpr2gpa.cpp index 27c93b0..2c1ff73 100644 --- a/gpr2gpa/gpr2gpa.cpp +++ b/gpr2gpa/gpr2gpa.cpp @@ -1471,7 +1471,7 @@ bool DecompressSound(int compressionID, int channelCount, const void *sndData, s } } } - else if (compressionID = AudioCompressionCodecID_SixToOne) + else if (compressionID == AudioCompressionCodecID_SixToOne) { if (channelCount != 1) {