minor compilation error fix
Forgot that UniquePointer had a special operator for checking if it is not NULL >.<
This commit is contained in:
parent
ec7185f463
commit
5d5f684ad6
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue