From 825a2208c6225651c91d18152ddccf0b2c441f9c Mon Sep 17 00:00:00 2001 From: dan miller Date: Sat, 1 Sep 2007 21:30:51 +0000 Subject: ODE bugfix: multiple avatars now supported properly --- OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Physics') diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 18e78d7..5900c78 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs @@ -131,7 +131,7 @@ namespace OpenSim.Region.Physics.OdePlugin { foreach (OdeCharacter chr in _characters) { - d.SpaceCollide2(space, _characters[_characters.Count - 1].capsule_geom, IntPtr.Zero, nearCallback); + d.SpaceCollide2(space, chr.capsule_geom, IntPtr.Zero, nearCallback); } } -- cgit v1.1