forked from teamnwah/openmw-tes3coop
Remove some unneeded bits from collision mask
This commit is contained in:
parent
88da7f5157
commit
cd52002740
1 changed files with 2 additions and 2 deletions
|
@ -387,7 +387,7 @@ namespace Physic
|
|||
mHeightFieldMap [name] = hf;
|
||||
|
||||
mDynamicsWorld->addRigidBody(body,CollisionType_HeightMap,
|
||||
CollisionType_World|CollisionType_Actor|CollisionType_Raycasting);
|
||||
CollisionType_Actor|CollisionType_Raycasting);
|
||||
}
|
||||
|
||||
void PhysicEngine::removeHeightField(int x, int y)
|
||||
|
@ -494,7 +494,7 @@ namespace Physic
|
|||
{
|
||||
assert (mCollisionObjectMap.find(name) == mCollisionObjectMap.end());
|
||||
mCollisionObjectMap[name] = body;
|
||||
mDynamicsWorld->addRigidBody(body,CollisionType_World,CollisionType_World|CollisionType_Actor|CollisionType_HeightMap);
|
||||
mDynamicsWorld->addRigidBody(body,CollisionType_World,CollisionType_Actor|CollisionType_HeightMap);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue