- Timestamp:
- Jun 4, 2012, 10:50:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/orxonox/gamestates/GSRoot.cc
r8858 r9279 76 76 for (ObjectList<BaseObject>::iterator it = ObjectList<BaseObject>::begin(); it; ++it) 77 77 { 78 if (dynamic_cast<Synchronisable*>(*it)) 79 orxout(debug_output) << "object: " << it->getIdentifier()->getName() << " id: " << dynamic_cast<Synchronisable*>(*it)->getObjectID() << endl; 78 Synchronisable* synchronisable = orxonox_cast<Synchronisable*>(*it); 79 if (synchronisable) 80 orxout(debug_output) << "object: " << it->getIdentifier()->getName() << " id: " << synchronisable->getObjectID() << endl; 80 81 else 81 82 orxout(debug_output) << "object: " << it->getIdentifier()->getName() << endl;
Note: See TracChangeset
for help on using the changeset viewer.