From 03d6ca749bfdf0c38c52fd9ae96274e764cefb8f Mon Sep 17 00:00:00 2001 From: Duion Date: Tue, 12 Jan 2016 23:55:54 +0100 Subject: [PATCH] make crosshair show in third person --- Engine/source/T3D/fps/guiCrossHairHud.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Engine/source/T3D/fps/guiCrossHairHud.cpp b/Engine/source/T3D/fps/guiCrossHairHud.cpp index a8cd3e1ba..fb1122b5e 100644 --- a/Engine/source/T3D/fps/guiCrossHairHud.cpp +++ b/Engine/source/T3D/fps/guiCrossHairHud.cpp @@ -118,7 +118,8 @@ void GuiCrossHairHud::onRender(Point2I offset, const RectI &updateRect) if (!conn) return; ShapeBase* control = dynamic_cast(conn->getControlObject()); - if (!control || !(control->getTypeMask() & ObjectMask) || !conn->isFirstPerson()) + //if (!control || !(control->getTypeMask() & ObjectMask) || !conn->isFirstPerson()) //original + if (!control || !(control->getTypeMask() & ObjectMask)) //Duion: Modified to show crosshair in third person return; // Parent render.