Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10770 in orxonox.OLD


Ignore:
Timestamp:
Jun 21, 2007, 8:14:29 PM (17 years ago)
Author:
nicolasc
Message:

MP removal algo 'works'

Location:
branches/presentation/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/lib/graphics/importer/static_model.cc

    r10760 r10770  
    215215      // remove the group from the model list (mount points do not need to be drawn)
    216216//      std::vector<StaticModelData::Group>::iterator tmpIt =  groupIt;
    217      groupIt++;
    218 //      this->data->getGroups().erase(tmpIt);
     217//      groupIt++;
     218     this->data->getGroups().erase(groupIt);
    219219  }
    220220}
  • branches/presentation/src/world_entities/world_entity.cc

    r10768 r10770  
    360360  // extract the mount points
    361361  // Patrick: they get extracted automaticaly now within the model finalization process
    362  
    363 
     362  // Nicolas: Does not work! this need to be here
    364363  if(model != NULL)
    365364    model->extractMountPoints();
     
    11981197void WorldEntity::regen(float time){
    11991198 
    1200   printf("regen: %f, %f, %f ****************** ", time, this->healthRegen, this->shieldRegen);
     1199//   printf("regen: %f, %f, %f ****************** ", time, this->healthRegen, this->shieldRegen);
    12011200  float tmp;
    12021201  this->increaseHealth(time * this->healthRegen);
Note: See TracChangeset for help on using the changeset viewer.