Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-10-26 13:35:44 +0000
committerStijn Buys <ingar@osirion.org>2008-10-26 13:35:44 +0000
commit95576727e1e328c18dcc6228dc37762b39464dc1 (patch)
treee2dda0eb729ee29c12c7b8111b192aac579d0fef /src/core/entity.cc
parent02d49765b4bdb7c30b1cb56f3fe4f2cc814ff9e4 (diff)
fix for the radius() reset on zone change bug
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r--src/core/entity.cc2
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];