engine: share playermove ClearPhysEnts function

This commit is contained in:
Alibek Omarov
2023-01-06 00:14:49 +03:00
parent 0bec78a958
commit 787d3bc5dd
9 changed files with 14 additions and 28 deletions

View File

@@ -55,6 +55,14 @@ void Pmove_Init( void )
memcpy( host.player_maxs, pm_hullmaxs, sizeof( pm_hullmaxs ));
}
void PM_ClearPhysEnts( playermove_t *pmove )
{
pmove->nummoveent = 0;
pmove->numphysent = 0;
pmove->numvisent = 0;
pmove->numtouch = 0;
}
/*
===================
PM_InitBoxHull