Merge pull request #6082 from zukkun/fix_cpbodysetangvellimit

fixed incorrect function invocation in PhysicsBody::setAngularVelocityLimit
This commit is contained in:
James Chen 2014-04-01 11:49:38 +08:00
commit 0bb71ce678
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ float PhysicsBody::getVelocityLimit()
void PhysicsBody::setAngularVelocityLimit(float limit)
{
cpBodySetVelLimit(_info->getBody(), PhysicsHelper::float2cpfloat(limit));
cpBodySetAngVelLimit(_info->getBody(), PhysicsHelper::float2cpfloat(limit));
}
float PhysicsBody::getAngularVelocityLimit()