mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-26 06:45:36 +00:00
add a setControllingClient method to vehicles referencing the shapebase class direct.
fix shapebase::setControllingClient swap getControllingObject() test
This commit is contained in:
parent
54a2235128
commit
d960f941e1
3 changed files with 6 additions and 1 deletions
|
|
@ -1376,6 +1376,10 @@ void Vehicle::unpackUpdate(NetConnection *con, BitStream *stream)
|
|||
setEnergyLevel(stream->readFloat(8) * mDataBlock->maxEnergy);
|
||||
}
|
||||
|
||||
void Vehicle::setControllingClient(GameConnection* client)
|
||||
{
|
||||
ShapeBase::setControllingClient(client);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue