mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-14 09:50:48 +00:00
DECLARE_ASSET_ARRAY_SETGET is incompatible with INITPERSISTFIELD_SOUNDASSET_ENUMED
This commit is contained in:
parent
ab1b14587e
commit
42d137f4a9
3 changed files with 0 additions and 4 deletions
|
|
@ -47,7 +47,6 @@ class HoverVehicleData : public VehicleData
|
|||
MaxSounds
|
||||
};
|
||||
DECLARE_SOUNDASSET_ARRAY(HoverVehicleData, HoverSounds, Sounds::MaxSounds);
|
||||
DECLARE_ASSET_ARRAY_SETGET(HoverVehicleData, HoverSounds);
|
||||
SFXProfile* getHoverSoundProfile(U32 id)
|
||||
{
|
||||
if (mHoverSoundsAsset[id] != NULL)
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ struct VehicleData : public RigidShapeData
|
|||
} body;
|
||||
|
||||
DECLARE_SOUNDASSET_ARRAY(VehicleData, VehicleBodySounds, Body::Sounds::MaxSounds)
|
||||
DECLARE_ASSET_ARRAY_SETGET(VehicleData, VehicleBodySounds);
|
||||
|
||||
SFXProfile* getVehicleBodySoundProfile(U32 id)
|
||||
{
|
||||
|
|
@ -82,7 +81,6 @@ struct VehicleData : public RigidShapeData
|
|||
};
|
||||
|
||||
DECLARE_SOUNDASSET_ARRAY(VehicleData, VehicleWaterSounds, Sounds::MaxSounds)
|
||||
DECLARE_ASSET_ARRAY_SETGET(VehicleData, VehicleWaterSounds);
|
||||
|
||||
SFXProfile* getVehicleWaterSoundProfile(U32 id)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -120,7 +120,6 @@ struct WheeledVehicleData: public VehicleData
|
|||
};
|
||||
|
||||
DECLARE_SOUNDASSET_ARRAY(WheeledVehicleData, WheeledVehicleSounds, Sounds::MaxSounds);
|
||||
DECLARE_ASSET_ARRAY_SETGET(WheeledVehicleData, WheeledVehicleSounds);
|
||||
|
||||
SFXProfile* getWheeledVehicleSound(U32 id)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue