Skip to content

Commit

Permalink
Merge branch 'master' into clcampaign
Browse files Browse the repository at this point in the history
  • Loading branch information
nekonomicon committed Jan 26, 2025
2 parents 0be9cd0 + 46e12d2 commit d7a0517
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ jobs:
run: |
cmake -G "Visual Studio 16 2019" -A Win32 -B build -DCMAKE_INSTALL_PREFIX="dist"
msbuild -verbosity:normal /property:Configuration=Release build/INSTALL.vcxproj
- name: Build on Windows x64
if: startsWith(matrix.os, 'windows')
run: |
cmake -G "Visual Studio 16 2019" -A x64 -B build64 -DCMAKE_INSTALL_PREFIX="dist64" -D64BIT=ON
msbuild -verbosity:normal /property:Configuration=Release /property:Platform=x64 build64/INSTALL.vcxproj
- name: Build on Windows with vgui
if: startsWith(matrix.os, 'windows')
run: |
Expand Down Expand Up @@ -105,6 +110,12 @@ jobs:
with:
name: hlsdk-${{ steps.extract_branch.outputs.branch }}-windows
path: dist/${{ steps.extract_gamedir.outputs.gamedir }}
- name: Upload windows x64 artifact
if: startsWith(matrix.os, 'windows')
uses: actions/upload-artifact@v4
with:
name: hlsdk-${{ steps.extract_branch.outputs.branch }}-windows_x64
path: dist64/${{ steps.extract_gamedir.outputs.gamedir }}
- name: Upload windows artifact with vgui
if: startsWith(matrix.os, 'windows')
uses: actions/upload-artifact@v4
Expand Down
1 change: 0 additions & 1 deletion dlls/func_break.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,6 @@ void CPushable::Move( CBaseEntity *pOther, int push )
{
if( push )
{
factor = 0.25f;
pev->velocity.x += pevToucher->velocity.x * factor;
pev->velocity.y += pevToucher->velocity.y * factor;
}
Expand Down
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 d7a0517

Please sign in to comment.