Changeset 7193 in orxonox.OLD for trunk/src/world_entities/terrain.cc
- Timestamp:
- Mar 7, 2006, 5:05:50 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/terrain.cc
r7055 r7193 18 18 #include "terrain.h" 19 19 20 #include " load_param.h"21 #include " factory.h"20 #include "util/loading/load_param.h" 21 #include "util/loading/factory.h" 22 22 #include "spatial_separation.h" 23 23 24 #include " resource_manager.h"24 #include "util/loading/resource_manager.h" 25 25 #include "model.h" 26 26 #include "network_game_manager.h" … … 186 186 { 187 187 PRINTF(4)("fetching %s\n", vegetationFile); 188 this->vegetation = (Model*)ResourceManager::getInstance()->load(vegetationFile, OBJ, RP_CAMPAIGN);188 this->vegetation = dynamic_cast<Model*>(ResourceManager::getInstance()->load(vegetationFile, OBJ, RP_CAMPAIGN)); 189 189 } 190 190 else
Note: See TracChangeset
for help on using the changeset viewer.