Return NPC instead of AGENT in the detect parameters for touch, collision and

sensor.
avinationmerge
Melanie 2012-06-28 20:29:37 +02:00
parent 625041f1db
commit 8a03c153d5
1 changed files with 2 additions and 0 deletions

View File

@ -197,6 +197,8 @@ namespace OpenSim.Region.ScriptEngine.Shared
presence.Velocity.Z);
Type = 0x01; // Avatar
if (presence.PresenceType == PresenceType.Npc)
Type = 0x20;
if (presence.Velocity != Vector3.Zero)
Type |= 0x02; // Active