2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 09:57:21 +01:00

Fix building with msvc 6 (#295)

This commit is contained in:
Roman Chistokhodov 2022-07-27 08:24:10 +03:00 committed by GitHub
parent 4678d49392
commit 5d64c9ceb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ set PATH=%MSVCDir%\VC98\Bin;%MSVCDir%\Common\MSDev98\Bin\;%PATH%
echo -- Compiler is MSVC6 echo -- Compiler is MSVC6
set XASH3DSRC=..\..\Xash3D_original set XASH3DSRC=..\..\Xash3D_original
set INCLUDES=-I../common -I../engine -I../pm_shared -I../game_shared -I../public -I../external -I../dlls -I../utils/false_vgui/include set INCLUDES=-I../common -I../engine -I../pm_shared -I../game_shared -I../public -I../external -I../dlls -I../utils/fake_vgui/include
set SOURCES=../dlls/crossbow.cpp ^ set SOURCES=../dlls/crossbow.cpp ^
../dlls/crowbar.cpp ^ ../dlls/crowbar.cpp ^
../dlls/egon.cpp ^ ../dlls/egon.cpp ^

View File

@ -120,7 +120,7 @@ static char grgchTextureType[CTEXTURESMAX];
int g_onladder = 0; int g_onladder = 0;
static inline void PM_InitTrace( trace_t *trace, const vec3_t end ) static void PM_InitTrace( trace_t *trace, const vec3_t end )
{ {
memset( trace, 0, sizeof( *trace )); memset( trace, 0, sizeof( *trace ));
VectorCopy( end, trace->endpos ); VectorCopy( end, trace->endpos );