mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-14 15:48:01 +03:00
Fix CSprayCan position relative to player (#167)
This commit is contained in:
parent
80a9c17c73
commit
a34740eae5
@ -5874,7 +5874,11 @@ const char *CBasePlayer::__MAKE_VHOOK(TeamID)()
|
||||
|
||||
void CSprayCan::Spawn(entvars_t *pevOwner)
|
||||
{
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
pev->origin = pevOwner->origin + pevOwner->view_ofs;
|
||||
#else
|
||||
pev->origin = pevOwner->origin + Vector(0, 0, 32);
|
||||
#endif
|
||||
pev->angles = pevOwner->v_angle;
|
||||
pev->owner = ENT(pevOwner);
|
||||
pev->frame = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user