Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 24, 2006, 1:23:47 PM (18 years ago)
Author:
bensch
Message:

Cleanup after merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/terrain/src/story_entities/multi_player_world_data.cc

    r9406 r9417  
    3131#include "camera.h"
    3232#include "environment.h"
    33 #include "terrain.h"
     33#include "terrain_entity.h"
    3434#include "test_entity.h"
    35 #include "terrain.h"
    3635#include "md2/md2Model.h"
    3736#include "world_entities/projectiles/projectile.h"
     
    161160        if( element->Value() != NULL && !strcmp( element->Value(), "SkyBox"))
    162161          this->sky = dynamic_cast<WorldEntity*>(created);
    163         if( element->Value() != NULL && !strcmp( element->Value(), "Terrain"))
     162        if( element->Value() != NULL && !strcmp( element->Value(), "TerrainEntityF"))
    164163        {
    165           this->terrain = dynamic_cast<Terrain*>(created);
     164          this->terrain = dynamic_cast<TerrainEntity*>(created);
    166165          CDEngine::getInstance()->setTerrain(terrain);
    167166        }
     
    194193          if( element->Value() != NULL && !strcmp( element->Value(), "Terrain"))
    195194          {
    196             this->terrain = dynamic_cast<Terrain*>(created);
     195            this->terrain = dynamic_cast<TerrainEntity*>(created);
    197196            CDEngine::getInstance()->setTerrain(terrain);
    198197          }
Note: See TracChangeset for help on using the changeset viewer.