Merge pull request #546 from asmaloney/minor_cleanup

Minor cleanups
This commit is contained in:
Thomas Fischer 2014-03-15 15:20:23 +01:00
commit 8529d4450b
6 changed files with 5 additions and 8 deletions

View file

@ -614,7 +614,7 @@ void GameBase::onUnmount( SceneObject *obj, S32 node )
bool GameBase::setDataBlockProperty( void *obj, const char *index, const char *db)
{
if( db == NULL || !db || !db[ 0 ] )
if( db == NULL || !db[ 0 ] )
{
Con::errorf( "GameBase::setDataBlockProperty - Can't unset datablock on GameBase objects" );
return false;