Merge pull request #7852 from Goober5000/fix/loadout_wireframe_wipe

restore the wireframe wipe in the FS2 loadout effect
This commit is contained in:
Goober5000 authored and GitHub committed 2026-10-12 23:32:32 -04:00
commit 085ff7a70b
1 file changed
+2 -3
+2 -3
View File
@@ -1865,9 +1865,8 @@ void draw_model_rotating(model_render_params *render_info, int ship_class, int m
render_info->set_animated_effect(ANIMATED_SHADER_LOADOUTSELECT_FS2, -clip);
if ( (time < 2.5f) && (time >= 0.5f) ) { // Phase 1 and 2 render the wireframe
if (time >= 1.5f) // Just clip the wireframe after Phase 1
render_info->set_clip_plane(plane_point,wire_normal);
render_info->set_clip_plane(plane_point,wire_normal);
render_info->set_flags(flags | MR_SHOW_OUTLINE_HTL | MR_NO_POLYS | MR_NO_TEXTURING | MR_NO_LIGHTING);
model_render_immediate(render_info, model_id, model_instance, &model_orient, &vmd_zero_vector);