remove the pointless check of the face texture struct against null in Bot.Objects_NewPrim()

This commit is contained in:
Justin Clark-Casey (justincc)
2011-11-03 22:52:14 +00:00
parent e4bdf1e78f
commit 69a4057135

View File

@@ -449,10 +449,8 @@ namespace pCampBot
{
UUID textureID = prim.Textures.FaceTextures[i].TextureID;
if (textureID != null && textureID != UUID.Zero)
{
if (textureID != UUID.Zero)
GetTexture(textureID);
}
}
}