Changeset 4356 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- May 28, 2005, 10:59:32 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.