- call P_FindParticleSubsectors before rendering a save picture in OpenGL.

This entry point was the only one missing that call.
This commit is contained in:
Christoph Oelckers 2017-05-21 12:45:49 +02:00
parent fc0855fac7
commit 7bc5573baa
1 changed files with 1 additions and 0 deletions

View File

@ -933,6 +933,7 @@ void GLSceneDrawer::WriteSavePic (player_t *player, FileWriter *file, int width,
{
GL_IRECT bounds;
P_FindParticleSubsectors(); // make sure that all recently spawned particles have a valid subsector.
bounds.left=0;
bounds.top=0;
bounds.width=width;