Skip to content

Commit 07768b2

Browse files
authored
Merge pull request #5142 from EatThePath/remove_trail_exclusion
Removed unhelpful optimization from trail rendering
2 parents 543c7f2 + 6ecfe2f commit 07768b2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

code/weapon/trails.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,6 @@ void trail_render( trail * trailp )
127127
if (trailp->tail == trailp->head)
128128
return;
129129

130-
// if this trail is on the player ship, and he's in any padlock view except rear view, don't draw
131-
if ( (Player_ship != NULL) && trail_is_on_ship(trailp, Player_ship) &&
132-
(Viewer_mode & (VM_PADLOCK_UP | VM_PADLOCK_LEFT | VM_PADLOCK_RIGHT)) )
133-
{
134-
return;
135-
}
136-
137130
trail_info *ti = &trailp->info;
138131

139132
int n = trailp->tail;

0 commit comments

Comments
 (0)