Fix building with msvc 6 (#295)

pull/298/head
Roman Chistokhodov 6 months ago committed by GitHub
parent 4678d49392
commit 5d64c9ceb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cl_dll/compile.bat
  2. 2
      pm_shared/pm_shared.c

@ -7,7 +7,7 @@ set PATH=%MSVCDir%\VC98\Bin;%MSVCDir%\Common\MSDev98\Bin\;%PATH%
echo -- Compiler is MSVC6
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 ^
../dlls/crowbar.cpp ^
../dlls/egon.cpp ^

@ -120,7 +120,7 @@ static char grgchTextureType[CTEXTURESMAX];
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 ));
VectorCopy( end, trace->endpos );

Loading…
Cancel
Save