Add pmodel attributes to the base player class.
This commit is contained in:
parent
0fc52f726d
commit
ae85529f95
2 changed files with 13 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -15,6 +15,12 @@
|
|||
*/
|
||||
|
||||
#ifdef CLIENT
|
||||
void
|
||||
base_player::ClientRemove(void)
|
||||
{
|
||||
remove(p_model);
|
||||
}
|
||||
|
||||
/*
|
||||
=================
|
||||
base_player::ClientInputFrame
|
||||
|
|
Loading…
Reference in a new issue