From 4a3aeb458c4925dc7ea3bd267dc078eb6fca78fb Mon Sep 17 00:00:00 2001 From: korenkonder Date: Sun, 10 Mar 2024 10:59:16 +0300 Subject: [PATCH] Fixed texture_transform not displaying if previous entry was invalid --- src/CRE/auth_3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CRE/auth_3d.cpp b/src/CRE/auth_3d.cpp index e60e1245..0db0ff9e 100644 --- a/src/CRE/auth_3d.cpp +++ b/src/CRE/auth_3d.cpp @@ -6397,7 +6397,7 @@ static void auth_3d_object_disp(auth_3d_object* o, auth_3d* auth, render_context for (auth_3d_object_texture_transform& i : o->texture_transform) { if (tex_trans_count >= TEXTURE_TRANSFORM_COUNT || i.texture_id == -1 || !texture_storage_get_texture(i.texture_id)) - break; + continue; tex_trans[tex_trans_count].id = i.texture_id; tex_trans[tex_trans_count].mat = i.mat;