diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Helpers.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Helpers.cs b/OpenSim/Region/ScriptEngine/Shared/Helpers.cs index 7e7e278..5c9d30f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Helpers.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Helpers.cs | |||
@@ -197,6 +197,8 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
197 | presence.Velocity.Z); | 197 | presence.Velocity.Z); |
198 | 198 | ||
199 | Type = 0x01; // Avatar | 199 | Type = 0x01; // Avatar |
200 | if (presence.PresenceType == PresenceType.Npc) | ||
201 | Type = 0x20; | ||
200 | if (presence.Velocity != Vector3.Zero) | 202 | if (presence.Velocity != Vector3.Zero) |
201 | Type |= 0x02; // Active | 203 | Type |= 0x02; // Active |
202 | 204 | ||