From 5d5f684ad664b09c0502a3f78e72cd6641b1a460 Mon Sep 17 00:00:00 2001 From: Dander7BD Date: Thu, 28 Nov 2013 18:05:19 +0100 Subject: [PATCH] minor compilation error fix Forgot that UniquePointer had a special operator for checking if it is not NULL >.< --- Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp b/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp index 0374704f..ed8f8eed 100644 --- a/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp +++ b/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp @@ -112,7 +112,7 @@ UniquePointer API_Impl::ExtractObject( const ICustomBody* objRef ) void API_Impl::DestroyObject( const ICustomBody* objRef ) { UniquePointer object = this->worldScene.Extract( objRef ); - if( object != NULL ) + if( object ) { this->destructionAction( object ); }