It's C++, why not?
This commit is contained in:
parent
d0f8b498ca
commit
4a9fe8e9b9
@ -103,11 +103,10 @@ Figure out the height of the gun
|
||||
void EV_GetGunPosition( event_args_t *args, float *pos, float *origin )
|
||||
{
|
||||
int idx;
|
||||
vec3_t view_ofs;
|
||||
Vector view_ofs(0, 0, 0);
|
||||
|
||||
idx = args->entindex;
|
||||
|
||||
VectorClear( view_ofs );
|
||||
view_ofs[2] = DEFAULT_VIEWHEIGHT;
|
||||
|
||||
if ( EV_IsPlayer( idx ) )
|
||||
|
Loading…
Reference in New Issue
Block a user