2
0
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:
s1lentq 2016-08-29 00:10:11 +07:00
parent 6c7140380f
commit d1c3cd2755
2 changed files with 6 additions and 6 deletions

View File

@ -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,

View File

@ -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