diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/game.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/game.cc b/src/game/game.cc index 85cd457..5157270 100644 --- a/src/game/game.cc +++ b/src/game/game.cc @@ -84,6 +84,7 @@ void Game::init() cube->entity_color = Color(0.0f, 0.8f, 0.0f); cube->entity_location = Vector3f(24.0f, 0.0f, -24.0f); cube->entity_name ="cube: Borg cube green"; + cube->entity_modelname = "cube"; cube->entity_moduletypeid = cube_enttype; // the red cube @@ -91,7 +92,8 @@ void Game::init() cube->entity_shape = core::Entity::Cube; cube->entity_color = Color(1.0f, 0.0f, 0.0f); cube->entity_location = Vector3f(16.0f, 0.0f, -16.0f); - cube->entity_name ="cube: Borg cube red"; + cube->entity_name = "cube: Borg cube red"; + cube->entity_modelname = "cube"; cube->entity_moduletypeid = cube_enttype; // the yellow sphere |