|
@@ -54,16 +54,16 @@ namespace GFGGame
|
|
|
}
|
|
|
else if (itemCfg.itemType == ConstItemType.PHOTOGRAPH)
|
|
|
{
|
|
|
- if (itemCfg.subType == ConstItemSubType.NPC)
|
|
|
+ if (itemCfg.subType == ConstItemSubType.PHOTOGRAPH_NPC)
|
|
|
{
|
|
|
if (listNpcData.IndexOf(itemID) < 0) listNpcData.Add(itemID);
|
|
|
}
|
|
|
- else if (itemCfg.subType == ConstItemSubType.BOREDR)
|
|
|
+ else if (itemCfg.subType == ConstItemSubType.PHOTOGRAPH_BOREDR)
|
|
|
{
|
|
|
if (listBorderData.IndexOf(ConstItemID.BORDERID) < 0) listBorderData.Insert(0, ConstItemID.BORDERID);
|
|
|
if (listBorderData.IndexOf(itemID) < 0) listBorderData.Add(itemID);
|
|
|
}
|
|
|
- else if (itemCfg.subType == ConstItemSubType.EFFECT)
|
|
|
+ else if (itemCfg.subType == ConstItemSubType.PHOTOGRAPH_EFFECT)
|
|
|
{
|
|
|
if (listEffectData.IndexOf(ConstItemID.EFFECTID) < 0) listEffectData.Insert(0, ConstItemID.EFFECTID);
|
|
|
if (listEffectData.IndexOf(itemID) < 0) listEffectData.Add(itemID);
|