Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2855 for code/trunk


Ignore:
Timestamp:
Mar 26, 2009, 4:39:31 PM (16 years ago)
Author:
rgrieder
Message:

Two small fixes.

Location:
code/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/worldentities/WorldEntity.cc

    r2851 r2855  
    660660        case TransformSpace::World:
    661661            ogreRelativeTo = Ogre::Node::TS_WORLD; break;
     662        default: OrxAssert(false, "Faulty TransformSpace::Enum assigned.");
    662663        }
    663664        this->node_->setDirection(direction, ogreRelativeTo, localDirectionVector);
     
    759760        {
    760761        case Dynamic:
    761             this->physicalBody_->setCollisionFlags(this->physicalBody_->getCollisionFlags() & !(btCollisionObject::CF_STATIC_OBJECT | btCollisionObject::CF_KINEMATIC_OBJECT));
     762            this->physicalBody_->setCollisionFlags(this->physicalBody_->getCollisionFlags() & !btCollisionObject::CF_STATIC_OBJECT & !btCollisionObject::CF_KINEMATIC_OBJECT);
    762763            break;
    763764        case Kinematic:
  • code/trunk/src/util/CMakeLists.txt

    r2773 r2855  
    2929  MultiType.h
    3030  MultiTypeValue.h
     31  OrxEnum.h
    3132  OutputBuffer.h
    3233  OutputHandler.h
Note: See TracChangeset for help on using the changeset viewer.