mirror of
https://github.com/rehlds/reapi.git
synced 2024-12-28 15:45:31 +03:00
Fast push: establish type for member's entvars_t::viewmodel + entvars_t::weaponmodel as qstring_t
This commit is contained in:
parent
6c7140380f
commit
d1c3cd2755
@ -230,17 +230,17 @@ enum EntVars
|
||||
|
||||
/*
|
||||
* Description: player's viewmodel
|
||||
* Member type: int
|
||||
* Member type: string_t
|
||||
* Get params: get_entvar(index, EntVars:var);
|
||||
* Set params: set_entvar(index, EntVars:var, value);
|
||||
* Set params: set_entvar(index, EntVars:var, const source[]);
|
||||
*/
|
||||
var_viewmodel,
|
||||
|
||||
/*
|
||||
* Description: what other players see
|
||||
* Member type: int
|
||||
* Member type: string_t
|
||||
* Get params: get_entvar(index, EntVars:var);
|
||||
* Set params: set_entvar(index, EntVars:var, value);
|
||||
* Set params: set_entvar(index, EntVars:var, const source[]);
|
||||
*/
|
||||
var_weaponmodel,
|
||||
|
||||
|
@ -71,8 +71,8 @@ struct com_entvars
|
||||
int modelindex;
|
||||
qstring_t model;
|
||||
|
||||
int viewmodel; // player's viewmodel
|
||||
int weaponmodel; // what other players see
|
||||
qstring_t viewmodel; // player's viewmodel
|
||||
qstring_t weaponmodel; // what other players see
|
||||
|
||||
vec3_t absmin; // BB max translated to world coord
|
||||
vec3_t absmax; // BB max translated to world coord
|
||||
|
Loading…
Reference in New Issue
Block a user