No gunsight on the Winners Circle
The reticle was still drawn over the podium. It goes out in the 2D pass, after everything the presentation turns off, so it survived. The race is over and nothing is being aimed at. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -6324,10 +6324,15 @@ void DPLRenderer::ExecuteImplementation(RendererComplexity, RendererOrigin::Inte
|
||||
mDevice->SetRenderState(D3DRS_DIFFUSEMATERIALSOURCE, D3DMCS_COLOR1);
|
||||
mDevice->SetTextureStageState(1, D3DTSS_COLOROP, D3DTOP_DISABLE);
|
||||
|
||||
if (mReticle && !l4_application->IsDead())
|
||||
//
|
||||
// No gunsight on the podium - the race is over and nothing is being
|
||||
// aimed at. It is drawn in the 2D pass, so it survives everything else
|
||||
// the presentation turns off.
|
||||
//
|
||||
if (mReticle && !l4_application->IsDead() && !InPresentation())
|
||||
mReticle->Render(0, &viewTransform);
|
||||
|
||||
if (mCamShipHUD)
|
||||
if (mCamShipHUD && !InPresentation())
|
||||
mCamShipHUD->Render(0, &viewTransform);
|
||||
|
||||
hr = mDevice->EndScene();
|
||||
|
||||
Reference in New Issue
Block a user