remove unnecessary code

the removed code is not needed as anims are only considered var-speed if basename was used in a var-speed submenu
This commit is contained in:
codeviolet 2018-02-19 14:55:38 +11:00 committed by Sei-Lisa
parent 87266b2f79
commit 31622ceb9b

View file

@ -92,11 +92,7 @@ default
index = llListFindList(ALL_USED_ANIMS, [anim_basename]);
if(index != -1 && isVariableSpeed == TRUE && llList2Integer(VARIABLE_SPEED_ANIMS,index) == FALSE){
Owner_Say("Variable-Speed Animation '" + llGetInventoryName(INVENTORY_ANIMATION, i) + "' found in inventory but the associated submenu(s) are not set as Variable-Speed submenu(s)!");
UNUSED_ANIMS += llGetInventoryName(INVENTORY_ANIMATION, i);
}
else if (index == -1 && llGetInventoryName(INVENTORY_ANIMATION, i) != "AVhipfix")
if (index == -1 && llGetInventoryName(INVENTORY_ANIMATION, i) != "AVhipfix")
{
Owner_Say("Animation '" + llGetInventoryName(INVENTORY_ANIMATION, i) + "' found in inventory but not used in notecard!");
UNUSED_ANIMS += llGetInventoryName(INVENTORY_ANIMATION, i);