Changeset 7211 in orxonox.OLD for branches/std/src/util/track
- Timestamp:
- Mar 10, 2006, 4:52:21 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/std/src/util/track/track_manager.cc
r7193 r7211 884 884 for(unsigned int i = 0; i < strings.getCount(); i++) 885 885 { 886 TrackElement* tmpElem = this->firstTrackElem->findByName(strings.getString(i) );886 TrackElement* tmpElem = this->firstTrackElem->findByName(strings.getString(i).c_str()); 887 887 if (tmpElem != NULL) 888 888 trackIDs[i] = tmpElem->ID; 889 889 else 890 890 { 891 PRINTF(1)("Trying to join a Track, of which the name does not exist: %s\n", strings.getString(i) );891 PRINTF(1)("Trying to join a Track, of which the name does not exist: %s\n", strings.getString(i).c_str()); 892 892 trackIDs[i] = -1; 893 893 }
Note: See TracChangeset
for help on using the changeset viewer.