BGE: Fixing up a small issue from merging Rasterizer cleanup code.

This commit is contained in:
Mitchell Stokes 2013-11-04 19:22:56 +00:00
parent be114086f2
commit efa40ea590

@ -1332,7 +1332,7 @@ void RAS_OpenGLRasterizer::applyTransform(double* oglmatrix,int objectdrawmode )
KX_Scene* kxscene = (KX_Scene*) m_auxilaryClientInfo; KX_Scene* kxscene = (KX_Scene*) m_auxilaryClientInfo;
PHY_IPhysicsEnvironment* physics_environment = kxscene->GetPhysicsEnvironment(); PHY_IPhysicsEnvironment* physics_environment = kxscene->GetPhysicsEnvironment();
KX_IPhysicsController* physics_controller = gameobj->GetPhysicsController(); PHY_IPhysicsController* physics_controller = gameobj->GetPhysicsController();
KX_GameObject *parent = gameobj->GetParent(); KX_GameObject *parent = gameobj->GetParent();
if (!physics_controller && parent) if (!physics_controller && parent)