diff options
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r-- | src/core/entity.cc | 5 |
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 != '"')); |