Fix a condition check

This commit is contained in:
Melanie Thielker
2014-08-11 02:30:09 +02:00
parent 036017bba7
commit 0eaabef1dc

View File

@@ -1880,7 +1880,7 @@ namespace OpenSim.Region.Framework.Scenes
public void AddTextureAnimation(Primitive.TextureAnimation pTexAnim)
{
if (((int)pTexAnim.Flags & 1) == 0) // ANIM_ON
if (((int)pTexAnim.Flags & 1) != 0) // ANIM_ON
{
byte[] data = new byte[16];
int pos = 0;