mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 11:55:33 +00:00
sound safeties and future notes
This commit is contained in:
parent
39b9b47caf
commit
c4ae6258cc
15 changed files with 39 additions and 48 deletions
|
|
@ -134,10 +134,14 @@ bool ProximityMineData::preload( bool server, String& errorStr )
|
|||
|
||||
if ( !server )
|
||||
{
|
||||
if( !getArmSound() )
|
||||
Con::errorf( ConsoleLogEntry::General, "ProximityMineData::preload: Invalid arming sound." );
|
||||
if( !getTriggerSound() )
|
||||
Con::errorf( ConsoleLogEntry::General, "ProximityMineData::preload: Invalid trigger sound." );
|
||||
if(!isArmSoundValid() )
|
||||
{
|
||||
//return false; -TODO: trigger asset download
|
||||
}
|
||||
if(!isTriggerSoundValid() )
|
||||
{
|
||||
//return false; -TODO: trigger asset download
|
||||
}
|
||||
}
|
||||
|
||||
if ( mShape )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue