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 ec7185f463
commit 5d5f684ad6
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 ) 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 );
} }