Changeset 4463 in orxonox.OLD for orxonox/trunk/src/util/resource_manager.cc
- Timestamp:
- Jun 2, 2005, 1:03:35 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/resource_manager.cc
r4462 r4463 271 271 { 272 272 tmpResource->skinFileName = new char[strlen((const char*)param1)+1]; 273 strcpy(tmpResource->skinFileName, (const char*) fileName);273 strcpy(tmpResource->skinFileName, (const char*) param1); 274 274 } 275 275 else 276 276 tmpResource->skinFileName = NULL; 277 char* skinFileName = ResourceManager::getFullName(tmpResource->skinFileName); 278 tmpResource->pointer = new MD2Data(fullName, skinFileName); 279 delete []skinFileName; 277 tmpResource->pointer = new MD2Data(fullName, tmpResource->skinFileName); 280 278 } 281 279 break;
Note: See TracChangeset
for help on using the changeset viewer.