From 7bc5573baabcde11195a95ad819ca9b89ba578d3 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 21 May 2017 12:45:49 +0200 Subject: [PATCH] - call P_FindParticleSubsectors before rendering a save picture in OpenGL. This entry point was the only one missing that call. --- src/gl/scene/gl_scene.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gl/scene/gl_scene.cpp b/src/gl/scene/gl_scene.cpp index 19c605a5c..aed9f8f60 100644 --- a/src/gl/scene/gl_scene.cpp +++ b/src/gl/scene/gl_scene.cpp @@ -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;