|
@@ -58,7 +58,7 @@ namespace LOTRO_DAT {
|
|
|
|
|
|
BinaryData locale_dict_offset_data(4);
|
|
|
dat->GetIO().ReadData(locale_dict_offset_data, 4, 300);
|
|
|
- long long dict_offset_ = locale_dict_offset_data.ToNumber<4>(0);
|
|
|
+ dict_offset_ = locale_dict_offset_data.ToNumber<4>(0);
|
|
|
|
|
|
BinaryData locale_info(16);
|
|
|
auto operation = dat->GetIO().ReadData(locale_info, 16, dict_offset_);
|
|
@@ -348,7 +348,7 @@ namespace LOTRO_DAT {
|
|
|
long long locale_offset = locale_offset_data.ToNumber<4>(0);
|
|
|
|
|
|
LOG(INFO) << "CHCKLOCALECORRECT: patch mark = " << patch_mark << ", locale_offset = " << locale_offset;
|
|
|
-
|
|
|
+
|
|
|
if (patch_mark == 0 && locale_offset == 0) {
|
|
|
LOG(INFO) << "CHCKLOCALECORRECT: No file patch info found, check successfull!";
|
|
|
return true;
|