minor compilation error fix

Forgot that UniquePointer had a special operator for checking if it is
not NULL >.<
This commit is contained in:
Dander7BD 2013-11-28 18:05:19 +01:00
parent 834de9ba84
commit 14b1f20b87
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ UniquePointer<ICustomBody> API_Impl::ExtractObject( const ICustomBody* objRef )
void API_Impl::DestroyObject( const ICustomBody* objRef )
{
UniquePointer<ICustomBody> object = this->worldScene.Extract( objRef );
if( object != NULL )
if( object )
{
this->destructionAction( object );
}