Changeset 10057 in orxonox.OLD for branches/mount_points/src/world_entities/world_entity.cc
- Timestamp:
- Dec 13, 2006, 10:30:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/world_entities/world_entity.cc
r10056 r10057 322 322 void WorldEntity::addMountPoint(MountPoint* mountPoint) 323 323 { 324 // add the mount point at the last position 325 this->mountPoints.push_back(mountPoint); 324 326 } 325 327 … … 330 332 void WorldEntity::addMountPoint(int slot, MountPoint* mountPoint) 331 333 { 332 334 if( this->mountPoints[slot] != NULL) 335 { 336 PRINTF(0)("adding a mount point to a slot, that already exists! ignoring - maybe some object do not get connected well (object: %s)", this->getClassCName()); 337 } 338 339 // just connect the mount point 340 this->mountPoints[slot] = mountPoint; 333 341 } 334 342
Note: See TracChangeset
for help on using the changeset viewer.