Changeset 4732 in orxonox.OLD for orxonox/trunk/src/world_entities/world_entity.cc
- Timestamp:
- Jun 29, 2005, 2:30:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/world_entity.cc
r4700 r4732 67 67 if (this->model) 68 68 ResourceManager::getInstance()->unload(this->model, RP_LEVEL); 69 this->model = (Model*)ResourceManager::getInstance()->load(fileName, OBJ, RP_CAMPAIGN); 69 if (fileName != NULL) 70 { 71 PRINTF(4)("loading %s\n", fileName); 72 this->model = (Model*)ResourceManager::getInstance()->load(fileName, OBJ, RP_CAMPAIGN); 73 } 74 else 75 this->model = NULL; 70 76 } 71 77
Note: See TracChangeset
for help on using the changeset viewer.