Skip to content

Commit

Permalink
Update Client/game_sa/CModelInfoSA.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Marek Kulik <[email protected]>
  • Loading branch information
TheNormalnij and botder authored Sep 23, 2023
1 parent 32733ae commit 88bf632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Client/game_sa/CModelInfoSA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -821,8 +821,8 @@ void CModelInfoSA::StaticResetTextureDictionaries()
}
else
{
// Model was dealocated. Skip it and remove from list
ms_DefaultTxdIDMap.erase(ms_DefaultTxdIDMap.begin()->first);
// Model was deallocated. Skip and remove it from our list.
ms_DefaultTxdIDMap.erase(ms_DefaultTxdIDMap.begin());
}
}
}
Expand Down

0 comments on commit 88bf632

Please sign in to comment.