- Timestamp:
- Dec 1, 2008, 11:09:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/worldentities/StaticEntity.cc
r2300 r2303 62 62 bool StaticEntity::isCollisionTypeLegal(WorldEntity::CollisionType type) const 63 63 { 64 if (type == WorldEntity:: Static)64 if (type == WorldEntity::Kinematic || type == WorldEntity::Dynamic) 65 65 { 66 ThrowException(PhysicsViolation, "Cannot tell a MovableEntity to have static collision type");66 ThrowException(PhysicsViolation, "Cannot tell a StaticEntity to have kinematic or dynamic collision type"); 67 67 return false; 68 68 }
Note: See TracChangeset
for help on using the changeset viewer.