mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
mantis 8854: fix the typos and rearrange code a bit. AGAIN PassTouches (and PassCollisions) are as old SL, not current
This commit is contained in:
@@ -200,11 +200,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||
|
||||
private bool hasTouchEvents(SceneObjectPart part)
|
||||
{
|
||||
if ((part.ScriptEvents & scriptEvents.touch) != 0 ||
|
||||
(part.ScriptEvents & scriptEvents.touch_start) != 0 ||
|
||||
(part.ScriptEvents & scriptEvents.touch_end) != 0)
|
||||
return true;
|
||||
return false;
|
||||
return (part.ScriptEvents & scriptEvents.anytouch) != 0;
|
||||
}
|
||||
|
||||
public void InstantMessage(UUID target, string message)
|
||||
|
||||
Reference in New Issue
Block a user