mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-13 05:51:19 +00:00
Add missing call. Fix compilation with msvc6.
This commit is contained in:
parent
2b0b28b715
commit
899d5a7bbe
@ -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;
|
||||
|
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user