Skip to content

Commit 4de3451

Browse files
authored
Merge pull request scp-fs2open#1628 from The-E/fix/lab-glowpoints
Make glowpoints in the lab work correctly
2 parents 8f5f77f + 354246c commit 4de3451

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/model/modelrender.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1654,7 +1654,7 @@ void model_render_glowpoint(int point_num, vec3d *pos, matrix *orient, glow_poin
16541654
vec3d submodel_static_offset; // The associated submodel's static offset in the ship's frame of reference
16551655
bool submodel_rotation = false;
16561656

1657-
if ( bank->submodel_parent > 0 && pm->submodel[bank->submodel_parent].can_move && (gameseq_get_state_idx(GS_STATE_LAB) == -1) && shipp != NULL ) {
1657+
if ( bank->submodel_parent > 0 && pm->submodel[bank->submodel_parent].can_move && shipp != NULL ) {
16581658
model_find_submodel_offset(&submodel_static_offset, Ship_info[shipp->ship_info_index].model_num, bank->submodel_parent);
16591659

16601660
submodel_rotation = true;

0 commit comments

Comments
 (0)