From 95576727e1e328c18dcc6228dc37762b39464dc1 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 26 Oct 2008 13:35:44 +0000 Subject: fix for the radius() reset on zone change bug --- src/core/entity.cc | 2 ++ 1 file changed, 2 insertions(+) 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]; -- cgit v1.2.3