diff options
author | Stijn Buys <ingar@osirion.org> | 2010-11-12 14:43:49 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-11-12 14:43:49 +0000 |
commit | c0c2a0ccc335b00983bf69b99b7a44505ed24b47 (patch) | |
tree | aed98bf43957595104810e6ba7d1ab278d2e8089 /src/core/entity.cc | |
parent | d07d7e0d0ba022d555f418e9a072d71c190ed225 (diff) |
made core::Entity::entity_shape a private attribute
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r-- | src/core/entity.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc index 8fde03a..7f48c08 100644 --- a/src/core/entity.cc +++ b/src/core/entity.cc @@ -1011,14 +1011,14 @@ EntityGlobe::EntityGlobe() : Entity() { render_texture = 0; entity_rotationspeed = 0; - entity_shape = Sphere; + set_shape(Sphere); } EntityGlobe::EntityGlobe(std::istream & is) : Entity(is) { render_texture = 0; entity_rotationspeed = 0; - entity_shape = Sphere; + set_shape(Sphere); } EntityGlobe::~EntityGlobe() |