瀏覽代碼

DECLARE_ASSET_ARRAY_SETGET is incompatible with INITPERSISTFIELD_SOUNDASSET_ENUMED

AzaezelX 3 年之前
父節點
當前提交
42d137f4a9

+ 0 - 1
Engine/source/T3D/vehicles/hoverVehicle.h

@@ -47,7 +47,6 @@ class HoverVehicleData : public VehicleData
       MaxSounds
       MaxSounds
    };
    };
    DECLARE_SOUNDASSET_ARRAY(HoverVehicleData, HoverSounds, Sounds::MaxSounds);
    DECLARE_SOUNDASSET_ARRAY(HoverVehicleData, HoverSounds, Sounds::MaxSounds);
-   DECLARE_ASSET_ARRAY_SETGET(HoverVehicleData, HoverSounds);
    SFXProfile* getHoverSoundProfile(U32 id)
    SFXProfile* getHoverSoundProfile(U32 id)
    {
    {
       if (mHoverSoundsAsset[id] != NULL)
       if (mHoverSoundsAsset[id] != NULL)

+ 0 - 2
Engine/source/T3D/vehicles/vehicle.h

@@ -50,7 +50,6 @@ struct VehicleData : public RigidShapeData
    } body;
    } body;
 
 
    DECLARE_SOUNDASSET_ARRAY(VehicleData, VehicleBodySounds, Body::Sounds::MaxSounds)
    DECLARE_SOUNDASSET_ARRAY(VehicleData, VehicleBodySounds, Body::Sounds::MaxSounds)
-   DECLARE_ASSET_ARRAY_SETGET(VehicleData, VehicleBodySounds);
 
 
    SFXProfile* getVehicleBodySoundProfile(U32 id)
    SFXProfile* getVehicleBodySoundProfile(U32 id)
    {
    {
@@ -82,7 +81,6 @@ struct VehicleData : public RigidShapeData
    };
    };
 
 
   DECLARE_SOUNDASSET_ARRAY(VehicleData, VehicleWaterSounds, Sounds::MaxSounds)
   DECLARE_SOUNDASSET_ARRAY(VehicleData, VehicleWaterSounds, Sounds::MaxSounds)
-  DECLARE_ASSET_ARRAY_SETGET(VehicleData, VehicleWaterSounds);
 
 
   SFXProfile* getVehicleWaterSoundProfile(U32 id)
   SFXProfile* getVehicleWaterSoundProfile(U32 id)
   {
   {

+ 0 - 1
Engine/source/T3D/vehicles/wheeledVehicle.h

@@ -120,7 +120,6 @@ struct WheeledVehicleData: public VehicleData
    };
    };
 
 
    DECLARE_SOUNDASSET_ARRAY(WheeledVehicleData, WheeledVehicleSounds, Sounds::MaxSounds);
    DECLARE_SOUNDASSET_ARRAY(WheeledVehicleData, WheeledVehicleSounds, Sounds::MaxSounds);
-   DECLARE_ASSET_ARRAY_SETGET(WheeledVehicleData, WheeledVehicleSounds);
 
 
    SFXProfile* getWheeledVehicleSound(U32 id)
    SFXProfile* getWheeledVehicleSound(U32 id)
    {
    {