Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r--src/core/entity.cc5
1 files changed, 4 insertions, 1 deletions
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 != '"'));