From afec8e7c3aec1a186512b997ed3b717efef8fc43 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 11 Feb 2008 00:19:11 +0000 Subject: renamed Entity.base_* to Entity.core_* fixed camera::mode::Overview --- src/game/star.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/game/star.cc') diff --git a/src/game/star.cc b/src/game/star.cc index 5fed82a..10bb6ee 100644 --- a/src/game/star.cc +++ b/src/game/star.cc @@ -4,7 +4,7 @@ the terms of the GNU General Public License version 2. */ -#include "game/shared.h" +#include "game/game.h" #include "game/star.h" @@ -12,9 +12,11 @@ namespace game { Star::Star() : core::Entity(core::entity::Static & core::entity::Solid) { - base_shape = core::entity::Sphere; // a star is a sphere - base_color = math::Color(1,1,1,1); // white - base_radius = 48; // 48 game units + core_shape = core::entity::Sphere; // a star is a sphere + core_color = math::Color(1,1,1,1); // white + core_radius = 48; // 48 game units + + type = star_enttype; } Star::~Star() -- cgit v1.2.3