- 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

View file

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