Changeset 5568 in orxonox.OLD for branches/world_entities/src
- Timestamp:
- Nov 15, 2005, 2:46:25 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/world_entities/src/world_entities/weapons/aim.cc
r5567 r5568 153 153 154 154 char outputText[100]; 155 sprintf(outputText, " distance: %f\n", (this->source->getAbsCoor() - this->getAbsCoor()).len());155 sprintf(outputText, "%s - distance: %f\n", this->getParent()->getName(), (this->source->getAbsCoor() - this->getAbsCoor()).len()); 156 156 this->text->setText(outputText); 157 157
Note: See TracChangeset
for help on using the changeset viewer.