Changeset 4356 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- May 28, 2005, 10:59:32 AM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/particles/particle_fun.cc
r4351 r4356 36 36 void Framework::moduleInit(int argc, char** argv) 37 37 { 38 verbose = 5; 39 38 40 // Creating a Test Particle System 39 41 ParticleSystem* system = new ParticleSystem(100000, PINIT_PARTICLE_TYPE); -
orxonox/trunk/src/util/resource_manager.cc
r4341 r4356 220 220 tmpResource->type = type; 221 221 tmpResource->prio = prio; 222 tmpResource->pointer = NULL; 222 223 tmpResource->name = new char[strlen(fileName)+1]; 223 224 strcpy(tmpResource->name, fileName); … … 323 324 break; 324 325 } 325 this->resourceList->add(tmpResource); 326 if (tmpResource->pointer) 327 this->resourceList->add(tmpResource); 326 328 delete []fullName; 327 329 }
Note: See TracChangeset
for help on using the changeset viewer.