Skip to content

Commit

Permalink
Protect array
Browse files Browse the repository at this point in the history
  • Loading branch information
postm1 committed Jun 23, 2024
1 parent 76c8cbb commit 1e810cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SpacerNET_Union/Spacer_Loop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,8 @@ namespace GOTHIC_ENGINE {

HideMobInterHelpVobs();

if (mobInterSlotsVobs.GetNumInList() == 0) return;

if (auto mob = vob->CastTo<oCMobInter>())
{
auto savePos = mob->GetPositionWorld();
Expand Down

0 comments on commit 1e810cf

Please sign in to comment.