mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 22:24:33 +00:00
allow misc health readouts to detect vehicles
This commit is contained in:
parent
d22b7c7121
commit
22df872f2d
3 changed files with 3 additions and 3 deletions
|
|
@ -209,7 +209,7 @@ void GuiShapeNameHud::onRender( Point2I, const RectI &updateRect)
|
|||
// Target pos to test, if it's a player run the LOS to his eye
|
||||
// point, otherwise we'll grab the generic box center.
|
||||
Point3F shapePos;
|
||||
if (shape->getTypeMask() & PlayerObjectType)
|
||||
if (shape->getTypeMask() & (PlayerObjectType | VehicleObjectType))
|
||||
{
|
||||
MatrixF eye;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue