Add missing call. Fix compilation with msvc6.

This commit is contained in:
Night Owl 2018-07-14 06:52:40 +05:00
parent 2b0b28b715
commit 899d5a7bbe
2 changed files with 5 additions and 4 deletions

View File

@ -828,6 +828,8 @@ void V_GetChaseOrigin( float * angles, float * origin, float distance, qboolean
while( !tracefinished )
{
trace = gEngfuncs.PM_TraceLine( vecStart, vecEnd, PM_TRACELINE_PHYSENTSONLY, 2, -1 );
if( trace->ent <= 0 || !worldOnly )
{
tracefinished = true;

View File

@ -34,6 +34,9 @@ int g_bhopcap = 1;
int iJumpSpectator;
extern float vJumpOrigin[3];
extern float vJumpAngles[3];
extern int g_onground;
extern int g_inwater;
extern int g_walking;
#endif
static int pm_shared_initialized = 0;
@ -2735,10 +2738,6 @@ void PM_Move( struct playermove_s *ppmove, int server )
}
#ifdef CLIENT_DLL
extern int g_onground;
extern int g_inwater;
extern int g_walking;
g_onground = ( pmove->onground != -1 );
g_inwater = ( pmove->waterlevel > 1 );
g_walking = ( pmove->movetype == MOVETYPE_WALK );