diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-26 13:35:44 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-26 13:35:44 +0000 |
commit | 95576727e1e328c18dcc6228dc37762b39464dc1 (patch) | |
tree | e2dda0eb729ee29c12c7b8111b192aac579d0fef | |
parent | 02d49765b4bdb7c30b1cb56f3fe4f2cc814ff9e4 (diff) |
fix for the radius() reset on zone change bug
-rw-r--r-- | src/core/entity.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc index 27190a0..2c63b18 100644 --- a/src/core/entity.cc +++ b/src/core/entity.cc @@ -262,6 +262,8 @@ void Entity::receive_server_create(std::istream &is) entity_shape = (Shape) s; is >> entity_radius; + if (entity_model) + entity_radius = model()->radius(); is >> entity_axis[0]; is >> entity_axis[1]; |