Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10542 in orxonox.OLD for trunk/src/world_entities/mount_point.cc


Ignore:
Timestamp:
Jan 31, 2007, 5:15:54 AM (18 years ago)
Author:
patrick
Message:

slightly less debug. fixed segfault and better slot setting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/mount_point.cc

    r10540 r10542  
    140140  if( this->_mount != NULL)
    141141  {
    142     PRINTF(0)("Got detailed informations\n");
     142//     PRINTF(0)("Got detailed informations\n");
    143143    this->_mount->loadParams( root);
    144144
    145145    if( this->_mount->isA(ParticleSystem::staticClassID()))
    146146    {
    147       PRINTF(0)("got particle system. attaching it to mp\n");
     147//       PRINTF(0)("got particle system. attaching it to mp\n");
    148148      dynamic_cast<ParticleSystem*>(this->_mount)->attachEmmittersTo(this, Vector(0,0,0),
    149149                                    this->getRelDir()*Quaternion(M_PI, Vector(0,1,0)));
     
    177177    if( obj->isA( WorldEntity::staticClassID()))
    178178    {
    179       PRINTF(0)("Mount Point created a %s\n", obj->getCName());
     179//       PRINTF(0)("Mount Point created a %s\n", obj->getCName());
    180180      // cast down the object to WE
    181181      this->_mount = dynamic_cast<WorldEntity*>(obj);
     
    190190    else if( obj->isA( WeaponSlot::staticClassID()))
    191191    {
    192       PRINTF(0)("=========+>we got a weapon slot\n");
     192//       PRINTF(0)("=========+>we got a weapon slot\n");
    193193
    194194      // cast down the object to WE
Note: See TracChangeset for help on using the changeset viewer.