Skip to content

Commit

Permalink
Main: ResourceGroupManager - fix condition for changeGroupOwnership
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed May 21, 2024
1 parent 089f7b2 commit 26b0323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OgreMain/src/OgreResourceGroupManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ namespace Ogre {
{
std::pair<Archive*, ResourceGroup*> ret = resourceExistsInAnyGroupImpl(resourceName);

if(ret.second && resourceBeingLoaded && !grp->inGlobalPool) {
if(ret.second && resourceBeingLoaded && !ret.second->inGlobalPool) {
resourceBeingLoaded->changeGroupOwnership(ret.second->name);
}

Expand Down

0 comments on commit 26b0323

Please sign in to comment.