From c11c0174ece92b4502648ad33653975bfdfc39a0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 5 May 2008 17:45:30 +0000 Subject: lights with entity color, sunlight, network stats --- src/game/star.cc | 2 +- src/game/star.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game') diff --git a/src/game/star.cc b/src/game/star.cc index 1d154fe..0a12593 100644 --- a/src/game/star.cc +++ b/src/game/star.cc @@ -10,7 +10,7 @@ namespace game { -Star::Star() : core::Entity(core::Entity::Static | core::Entity::Solid | core::Entity::Bright) +Star::Star() : core::EntityGlobe(core::Entity::Static | core::Entity::Solid | core::Entity::Bright) { entity_shape = core::Entity::Sphere; // a star is a sphere entity_color = math::Color(1,1,1,1); // white diff --git a/src/game/star.h b/src/game/star.h index e953f3c..ecc7ade 100644 --- a/src/game/star.h +++ b/src/game/star.h @@ -17,7 +17,7 @@ namespace game { /// a star, that shines so bright -class Star : public core::Entity { +class Star : public core::EntityGlobe { public: Star(); ~Star(); -- cgit v1.2.3