diff --git a/src/swrenderer/scene/r_scene.cpp b/src/swrenderer/scene/r_scene.cpp index cdfcc8d82f..18c5137df1 100644 --- a/src/swrenderer/scene/r_scene.cpp +++ b/src/swrenderer/scene/r_scene.cpp @@ -48,6 +48,7 @@ #include "swrenderer/drawers/r_thread.h" #include "swrenderer/r_memory.h" #include "swrenderer/r_renderthread.h" +#include "swrenderer/things/r_playersprite.h" EXTERN_CVAR(Bool, r_shadercolormaps) EXTERN_CVAR(Int, r_clearbuffer) @@ -153,6 +154,7 @@ namespace swrenderer } RenderThreadSlices(); + MainThread()->PlayerSprites->Render(); RenderDrawQueues(); camera->renderflags = savedflags; diff --git a/src/swrenderer/scene/r_translucent_pass.cpp b/src/swrenderer/scene/r_translucent_pass.cpp index d102d6c187..d4bbb16820 100644 --- a/src/swrenderer/scene/r_translucent_pass.cpp +++ b/src/swrenderer/scene/r_translucent_pass.cpp @@ -28,7 +28,6 @@ #include "swrenderer/things/r_particle.h" #include "swrenderer/things/r_sprite.h" #include "swrenderer/things/r_wallsprite.h" -#include "swrenderer/things/r_playersprite.h" #include "swrenderer/segments/r_drawsegment.h" #include "swrenderer/scene/r_portal.h" #include "swrenderer/scene/r_translucent_pass.h" @@ -213,7 +212,5 @@ namespace swrenderer clip3d->DeleteHeights(); clip3d->fake3D = 0; } - - Thread->PlayerSprites->Render(); } }