Skip to content

Commit

Permalink
Merge branch 'main' into MHRise
Browse files Browse the repository at this point in the history
  • Loading branch information
dtlnor committed Jul 13, 2022
2 parents d15f7f9 + 5739993 commit ee1e23e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RE_RSZ.bt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ ubyte IsFieldNative(uint32 classHash, uint32 fieldIndex);

//#include "enums.hpp"
#include "motfsmEnum.bt"
#include "TagsCollection.bt"

//Local variables:
local int i <hidden=true>, j <hidden=true>, k <hidden=true>, m <hidden=true>, n <hidden=true>, o <hidden=true>, h <hidden=true>, temp <hidden=true>,
Expand Down Expand Up @@ -3242,8 +3243,6 @@ else {
} Header;
FSkip(-1);
}

#include "TagsCollection.bt"

string ReadReferenceTree(referenceTree &r) { return ReadUVAR(Header.BHVT.Uvar[(startof(r) - startof(parentof(r))) / 8]); }

Expand Down Expand Up @@ -5623,6 +5622,7 @@ typedef struct(BHVTlvl lv, string Name) {
if (lvl == -1) {
while (exists(BehaviorTree.RawNodes.Node[kk]) ) {
if (Type == id_Tags) {
if(exists(BehaviorTree.RawNodes.Node[kk].Tags)) // workaround for some weird file
if (BehaviorTree.RawNodes.Node[kk].Tags.TagsCount.Count > 1) {
for (tg=0; tg<BehaviorTree.RawNodes.Node[kk].Tags.TagsCount.Count; tg++) {
valueStart = 0;
Expand Down

0 comments on commit ee1e23e

Please sign in to comment.