I circumvented this issue by changing my approach, but I my curiosity is killing me...
if (iCurrentAppearance == 4 && iItemType == BASE_ITEM_MAGICWAND || iItemType = BASE_ITEM_MAGICROD)
{
object oNewItem = CopyItemAndModify(oItem, ITEM_APPR_TYPE_WEAPON_MODEL, ITEM_APPR_WEAPON_MODEL_BOTTOM, 1, TRUE); //Cycle back to first color
DestroyObject(oItem); //Delete original
}
Why is it the above code block compiles just fine, but seems to ignore everything after || in practice?





Retour en haut






