From e2457d104b6d590cc553307b8aef0dcda91eed26 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 10 Feb 2020 22:05:53 +0100 Subject: [PATCH] - fixed: Voxels did not explicitly set their palette and took the last one set. --- source/build/src/voxmodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/build/src/voxmodel.cpp b/source/build/src/voxmodel.cpp index c6001cebe..00a2c7849 100644 --- a/source/build/src/voxmodel.cpp +++ b/source/build/src/voxmodel.cpp @@ -1151,6 +1151,7 @@ int32_t polymost_voxdraw(voxmodel_t *m, tspriteptr_t const tspr) htex = *pTex; } + GLInterface.SetPalswap(globalpal); GLInterface.BindTexture(0, htex, -1); GLInterface.UseBrightmaps(false); GLInterface.UseGlowMapping(false);