mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
make crosshair show in third person
This commit is contained in:
parent
79c6a25050
commit
03d6ca749b
|
|
@ -118,7 +118,8 @@ void GuiCrossHairHud::onRender(Point2I offset, const RectI &updateRect)
|
|||
if (!conn)
|
||||
return;
|
||||
ShapeBase* control = dynamic_cast<ShapeBase*>(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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue