diff options
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r-- | src/core/entity.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc index e9985c3..db40f76 100644 --- a/src/core/entity.cc +++ b/src/core/entity.cc @@ -114,15 +114,16 @@ Entity::Entity(std::istream & is) is >> entity_flags; is >> entity_location; is >> entity_color; + is >> s; // shape + entity_shape = (Shape) s; + is >> entity_radius; is >> entity_axis[0]; is >> entity_axis[1]; entity_axis[2] = math::crossproduct(entity_axis.forward(), entity_axis.left()); - entity_shape = (Shape) s ; - char c; // read label while ( (is.get(c)) && (c != '"')); |