Skip to content

Commit

Permalink
Fix split group
Browse files Browse the repository at this point in the history
  • Loading branch information
Deamon87 committed Oct 8, 2022
1 parent caecd79 commit 0878312
Show file tree
Hide file tree
Showing 2 changed files with 511 additions and 509 deletions.
4 changes: 3 additions & 1 deletion wowViewerLib/src/engine/objects/wmo/wmoObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -937,8 +937,10 @@ void WmoObject::addSplitChildWMOsToView(InteriorView &interiorView, int groupId)
int nextChildGroupIndex = parentMogp->parentSplitOrFirstChildGroupIndex;
while (nextChildGroupIndex != -1) {
auto &groupWmo = groupObjects[nextChildGroupIndex];
if (!groupWmo->getIsLoaded())
if (!groupWmo->getIsLoaded()) {
interiorView.wmoGroupArray.addToLoad(groupWmo);
return;
}

auto &mogp = groupWmo->getWmoGroupGeom()->mogp;
if (!mogp->flags2.isSplitGroupChild)
Expand Down
Loading

0 comments on commit 0878312

Please sign in to comment.