draw reward even if description is nothing

This commit is contained in:
Asval
2019-07-17 12:13:20 +02:00
parent fe13e21bb8
commit 5d286420c3
3 changed files with 2 additions and 3 deletions

View File

@@ -1138,7 +1138,7 @@ namespace FModel
BundleDesign.drawBackground(bmp, bundleParser);
}
if (BundleInfos.BundleData.Count > 0 && BundleInfos.BundleData[0].rewardItemId != null && string.Equals(BundleInfos.BundleData[0].rewardItemId, "AthenaFortbyte", StringComparison.CurrentCultureIgnoreCase))
if (BundleInfos.BundleData[0].rewardItemId != null && string.Equals(BundleInfos.BundleData[0].rewardItemId, "AthenaFortbyte", StringComparison.CurrentCultureIgnoreCase))
isFortbyte = true;
// Fortbytes: Sort by number

View File

@@ -8,7 +8,6 @@ using System.Windows.Forms;
using System;
using Newtonsoft.Json.Linq;
using FModel.Parser.LocResParser;
using System.Diagnostics;
namespace FModel
{

View File

@@ -6,7 +6,6 @@ using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
@@ -113,6 +112,7 @@ namespace FModel
}
string newQuest = SearchResource.getTextByKey(descriptionKey, descriptionSource);
if (string.IsNullOrEmpty(newQuest)) { newQuest = " "; }
if (newQuest != oldQuest && newCount != oldCount)
{
if (questParser[x].Rewards != null && !isFortbyte)