mirror of https://github.com/axmolengine/axmol.git
Merge pull request #116 from aismann/patch-1
Update CCPhysicsDebugNode.cpp
This commit is contained in:
commit
e013223106
|
@ -74,7 +74,7 @@ static void DrawShape(cpShape *shape, DrawNode *renderer)
|
||||||
cpBody *body = cpShapeGetBody(shape);
|
cpBody *body = cpShapeGetBody(shape);
|
||||||
Color4F color = ColorForBody(body);
|
Color4F color = ColorForBody(body);
|
||||||
|
|
||||||
switch (shape->CP_PRIVATE(klass)->type)
|
switch (shape->klass->type)
|
||||||
{
|
{
|
||||||
case CP_CIRCLE_SHAPE:
|
case CP_CIRCLE_SHAPE:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue