Browse Source

early out if any asset feed route results in explicitly being told to use an emptystring

AzaezelX 3 years ago
parent
commit
96891e5673
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Engine/source/T3D/assets/SoundAsset.h

+ 2 - 0
Engine/source/T3D/assets/SoundAsset.h

@@ -234,6 +234,8 @@ public: \
       {\
          m##name = NULL;\
       }\
+      if(get##name() == StringTable->EmptyString())\
+         return true;\
       \
       if (m##name##Asset.notNull() && m##name##Asset->getStatus() != SoundAsset::Ok)\
       {\