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/core/entity.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/core/entity.cc') diff --git a/src/core/entity.cc b/src/core/entity.cc index d05bef2..d2fef43 100644 --- a/src/core/entity.cc +++ b/src/core/entity.cc @@ -379,13 +379,16 @@ void EntityControlable::set_roll(float roll) EntityGlobe::EntityGlobe(unsigned int flags) : Entity(flags) { - entity_texture_id = 0; + render_texture = 0; entity_shape = Sphere; } EntityGlobe::EntityGlobe(std::istream & is) : Entity(is) { + render_texture = 0; + entity_shape = Sphere; + std::string n; char c; while ( (is.get(c)) && (c != '"')); -- cgit v1.2.3