Add pmodel attributes to the base player class.

This commit is contained in:
Marco Cawthorne 2022-03-13 17:01:18 -07:00
parent 0fc52f726d
commit ae85529f95
Signed by: eukara
GPG Key ID: C196CD8BA993248A
2 changed files with 13 additions and 0 deletions

View File

@ -67,6 +67,13 @@ base_player:base_client
#ifdef CLIENT
int sequence;
/* external weapon model */
entity p_model;
int p_hand_bone;
int p_model_bone;
float lastweapon;
virtual void(void) ClientRemove;
virtual void(float, float) ReceiveEntity;
virtual void(void) PredictPreFrame;
virtual void(void) PredictPostFrame;

View File

@ -15,6 +15,12 @@
*/
#ifdef CLIENT
void
base_player::ClientRemove(void)
{
remove(p_model);
}
/*
=================
base_player::ClientInputFrame