Don't set view_ofs here.
This commit is contained in:
parent
3af0b7247d
commit
3f22159607
2 changed files with 10 additions and 5 deletions
|
@ -75,7 +75,6 @@ CSEv_TeamJoin_f(float f)
|
||||||
pl.model = g_teammodels[f];
|
pl.model = g_teammodels[f];
|
||||||
setmodel(pl, pl.model);
|
setmodel(pl, pl.model);
|
||||||
setsize(pl, VEC_HULL_MIN, VEC_HULL_MAX);
|
setsize(pl, VEC_HULL_MIN, VEC_HULL_MAX);
|
||||||
pl.view_ofs = VEC_PLAYER_VIEWPOS;
|
|
||||||
pl.velocity = [0,0,0];
|
pl.velocity = [0,0,0];
|
||||||
pl.gravity = __NULL__;
|
pl.gravity = __NULL__;
|
||||||
pl.frame = 1;
|
pl.frame = 1;
|
||||||
|
|
|
@ -55,15 +55,21 @@ w_dbs_updateammo(player pl)
|
||||||
Weapons_UpdateAmmo(pl, pl.shotgun_mag, pl.ammo_shells, __NULL__);
|
Weapons_UpdateAmmo(pl, pl.shotgun_mag, pl.ammo_shells, __NULL__);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
string w_dbs_wmodel(void)
|
|
||||||
|
string
|
||||||
|
w_dbs_wmodel(void)
|
||||||
{
|
{
|
||||||
return "models/w_shot2.mdl";
|
return "models/w_shot2.mdl";
|
||||||
}
|
}
|
||||||
string w_dbs_pmodel(void)
|
|
||||||
|
string
|
||||||
|
w_dbs_pmodel(void)
|
||||||
{
|
{
|
||||||
return "models/p_shot2.mdl";
|
return "models/p_shot2.mdl";
|
||||||
}
|
}
|
||||||
string w_dbs_deathmsg(void)
|
|
||||||
|
string
|
||||||
|
w_dbs_deathmsg(void)
|
||||||
{
|
{
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue