Change gesture activation to not quash any other flags

avinationmerge
Melanie 2011-01-17 21:22:32 +01:00
parent 76f39d326e
commit ddb4de139c
1 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures
item = invService.GetItem(item); item = invService.GetItem(item);
if (item != null) if (item != null)
{ {
item.Flags = 1; item.Flags |= 1;
invService.UpdateItem(item); invService.UpdateItem(item);
} }
else else
@ -85,7 +85,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures
item = invService.GetItem(item); item = invService.GetItem(item);
if (item != null) if (item != null)
{ {
item.Flags = 0; item.Flags &= ~1;
invService.UpdateItem(item); invService.UpdateItem(item);
} }
else else