Skip to content

Commit

Permalink
Merge branch 'master' into hlfixed
Browse files Browse the repository at this point in the history
  • Loading branch information
nekonomicon committed Jan 18, 2025
2 parents d7abbf8 + f9da6d7 commit ba154e2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dlls/nodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2475,7 +2475,10 @@ int CGraph::FLoadGraph( const char *szMapName )
length -= sizeof(CLink_Retail) * m_cLinks;
if( length < 0 )
goto ShortFile;
reinterpret_cast<CLink_Retail*>(pMemFile) -> copyOverTo(m_pLinkPool);
for (int j = 0; j < m_cLinks; ++j)
{
reinterpret_cast<CLink_Retail*>(pMemFile + sizeof(CLink_Retail) * j) -> copyOverTo(m_pLinkPool + j);
}
pMemFile += sizeof(CLink_Retail) * m_cLinks;
}
#endif
Expand Down

0 comments on commit ba154e2

Please sign in to comment.