Changeset 9417 in orxonox.OLD for branches/terrain/src/story_entities/multi_player_world_data.cc
- Timestamp:
- Jul 24, 2006, 1:23:47 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/terrain/src/story_entities/multi_player_world_data.cc
r9406 r9417 31 31 #include "camera.h" 32 32 #include "environment.h" 33 #include "terrain .h"33 #include "terrain_entity.h" 34 34 #include "test_entity.h" 35 #include "terrain.h"36 35 #include "md2/md2Model.h" 37 36 #include "world_entities/projectiles/projectile.h" … … 161 160 if( element->Value() != NULL && !strcmp( element->Value(), "SkyBox")) 162 161 this->sky = dynamic_cast<WorldEntity*>(created); 163 if( element->Value() != NULL && !strcmp( element->Value(), "Terrain "))162 if( element->Value() != NULL && !strcmp( element->Value(), "TerrainEntityF")) 164 163 { 165 this->terrain = dynamic_cast<Terrain *>(created);164 this->terrain = dynamic_cast<TerrainEntity*>(created); 166 165 CDEngine::getInstance()->setTerrain(terrain); 167 166 } … … 194 193 if( element->Value() != NULL && !strcmp( element->Value(), "Terrain")) 195 194 { 196 this->terrain = dynamic_cast<Terrain *>(created);195 this->terrain = dynamic_cast<TerrainEntity*>(created); 197 196 CDEngine::getInstance()->setTerrain(terrain); 198 197 }
Note: See TracChangeset
for help on using the changeset viewer.