mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
QOC
Code cleaning of unnecessary else' Remove unnecessary dynamic_casts
This commit is contained in:
parent
e9d0f68b55
commit
57aceb60fb
13 changed files with 33 additions and 28 deletions
|
|
@ -118,11 +118,12 @@ public:
|
|||
|
||||
DECLARE_SOUNDASSET(ProjectileData, ProjectileSound);
|
||||
DECLARE_SOUNDASSET_SETGET(ProjectileData, ProjectileSound);
|
||||
|
||||
SFXProfile* getSFXProfile() {
|
||||
if (mProjectileSoundAsset.notNull())
|
||||
return mProjectileSoundAsset->getSfxProfile();
|
||||
else
|
||||
return NULL;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
LightDescription *lightDesc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue