mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
misc fixes
utilize specialty case soundarray macros. slim duplicate entries in vehicle already hand;ed by rigidshape. create a gamebasedata::onnewdatablock which calls onremove and onadd for the db for those classes like wheeledvehicle that expect mounting logic to occur
This commit is contained in:
parent
54a2235128
commit
8821f62b0c
13 changed files with 98 additions and 420 deletions
|
|
@ -1572,7 +1572,7 @@ void ShapeBase::setControllingClient( GameConnection* client )
|
|||
|
||||
gSFX3DWorld->setListener( NULL );
|
||||
}
|
||||
else if( client && client->isConnectionToServer() && !getControllingObject() )
|
||||
else if( client && client->isConnectionToServer() && (getControllingObject() != this) )
|
||||
{
|
||||
// We're on the local client and not controlled by another object, so make
|
||||
// us the current SFX listener.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue