minor compilation error fix
Forgot that UniquePointer had a special operator for checking if it is not NULL >.<
This commit is contained in:
parent
834de9ba84
commit
14b1f20b87
|
@ -112,7 +112,7 @@ UniquePointer<ICustomBody> API_Impl::ExtractObject( const ICustomBody* objRef )
|
||||||
void API_Impl::DestroyObject( const ICustomBody* objRef )
|
void API_Impl::DestroyObject( const ICustomBody* objRef )
|
||||||
{
|
{
|
||||||
UniquePointer<ICustomBody> object = this->worldScene.Extract( objRef );
|
UniquePointer<ICustomBody> object = this->worldScene.Extract( objRef );
|
||||||
if( object != NULL )
|
if( object )
|
||||||
{
|
{
|
||||||
this->destructionAction( object );
|
this->destructionAction( object );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue