From 81787e9004377016236865e95b95707ed6cf1d0b Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 2 Mar 2008 12:23:48 +0000 Subject: initial (buggy) support for .map models --- src/game/game.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game/game.cc') 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 -- cgit v1.2.3