mirror of https://github.com/axmolengine/axmol.git
Makes an assert if CC_ENABLE_CHIPMUNK_INTEGRATION was not enabled in PhysicsDebugNode::create.
This commit is contained in:
parent
13cbaf4968
commit
1c20df5ca9
|
@ -209,6 +209,8 @@ PhysicsDebugNode* PhysicsDebugNode::create(cpSpace *space)
|
|||
node->init();
|
||||
#if CC_ENABLE_CHIPMUNK_INTEGRATION
|
||||
node->_spacePtr = space;
|
||||
#else
|
||||
CCASSERT(false, "CC_ENABLE_CHIPMUNK_INTEGRATION was not enabled!");
|
||||
#endif
|
||||
node->autorelease();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue