Changeset 7225 in orxonox.OLD for trunk/src/lib/particles/engine/particle_engine.cc
- Timestamp:
- Mar 18, 2006, 12:04:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/engine/particle_engine.cc
r7193 r7225 122 122 * @param system the System to connect to the Emitter 123 123 */ 124 void ParticleEngine::addConnection(const char* emitter, const char*system)124 void ParticleEngine::addConnection(const std::string& emitter, const std::string& system) 125 125 { 126 126 ParticleEmitter* tmpEmit = dynamic_cast<ParticleEmitter*>(ClassList::getObject(emitter, CL_PARTICLE_EMITTER));//this->getEmitterByName(emitter); … … 132 132 { 133 133 if (tmpEmit == NULL) 134 PRINTF(2)("Emitter %s not found in the List of emitters, not connecting to %s\n", emitter , system);134 PRINTF(2)("Emitter %s not found in the List of emitters, not connecting to %s\n", emitter.c_str(), system.c_str()); 135 135 if (tmpEmit == NULL) 136 PRINTF(2)("System %s not found in the List of emitters, not connecting to %s\n", system , emitter);136 PRINTF(2)("System %s not found in the List of emitters, not connecting to %s\n", system.c_str(), emitter.c_str()); 137 137 } 138 138 }
Note: See TracChangeset
for help on using the changeset viewer.