mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-08 21:24:34 +00:00
quick fix for misc sounds
player and vehicle were not loading some of thier sounds. we'll want to revisit this with a more comprehensive solution in the future, but this will at least allow folks to use the systems in place
This commit is contained in:
parent
e7b4a0f1dc
commit
9ca436d193
5 changed files with 6 additions and 0 deletions
|
|
@ -313,6 +313,7 @@ bool HoverVehicleData::preload(bool server, String &errorStr)
|
|||
|
||||
for (S32 i = 0; i < MaxSounds; i++)
|
||||
{
|
||||
_setHoverSounds(getHoverSounds(i), i);
|
||||
if (!isHoverSoundsValid(i))
|
||||
{
|
||||
//return false; -TODO: trigger asset download
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue