diff options
Diffstat (limited to 'modules/bullet/shape_bullet.cpp')
| -rw-r--r-- | modules/bullet/shape_bullet.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/modules/bullet/shape_bullet.cpp b/modules/bullet/shape_bullet.cpp index 88ffb9ec67..ec039ba842 100644 --- a/modules/bullet/shape_bullet.cpp +++ b/modules/bullet/shape_bullet.cpp @@ -63,8 +63,8 @@ btCollisionShape *ShapeBullet::prepare(btCollisionShape *p_btShape) const {  }  void ShapeBullet::notifyShapeChanged() { -	for (Map<ShapeOwnerBullet *, int>::Element *E = owners.front(); E; E = E->next()) { -		ShapeOwnerBullet *owner = static_cast<ShapeOwnerBullet *>(E->key()); +	for (const KeyValue<ShapeOwnerBullet *, int> &E : owners) { +		ShapeOwnerBullet *owner = static_cast<ShapeOwnerBullet *>(E.key);  		owner->shape_changed(owner->find_shape(this));  	}  } |