Core/Misc: Multiple static analysis issues fixed (small optimizations and clear code)

This commit is contained in:
DDuarte
2014-09-19 03:30:02 +01:00
parent e6b7de8c97
commit cefcde9ba9
40 changed files with 72 additions and 84 deletions
@@ -75,8 +75,7 @@ GameObject::~GameObject()
bool GameObject::AIM_Initialize()
{
if (m_AI)
delete m_AI;
delete m_AI;
m_AI = FactorySelector::SelectGameObjectAI(this);