mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-26 23:05:38 +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
|
|
@ -70,8 +70,8 @@ class RigidShapeData : public ShapeBaseData
|
|||
{
|
||||
if (mBodySoundsAsset[id] != NULL)
|
||||
return mBodySoundsAsset[id]->getSfxProfile();
|
||||
else
|
||||
return NULL;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
enum RigidShapeConsts
|
||||
|
|
@ -98,8 +98,8 @@ class RigidShapeData : public ShapeBaseData
|
|||
{
|
||||
if (mWaterSoundsAsset[id] != NULL)
|
||||
return mWaterSoundsAsset[id]->getSfxProfile();
|
||||
else
|
||||
return NULL;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
F32 exitSplashSoundVel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue