Use GetSpawnX() methods instead of peeking into some attribute that
may change.
This commit is contained in:
parent
ae5d4d7ca7
commit
c7f99fc00a
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@ item_healthkit::Respawn(void)
|
|||
{
|
||||
SetSolid(SOLID_TRIGGER);
|
||||
SetMovetype(MOVETYPE_TOSS);
|
||||
SetOrigin(m_oldOrigin);
|
||||
SetModel(m_oldModel);
|
||||
SetOrigin(GetSpawnOrigin());
|
||||
SetModel(GetSpawnModel());
|
||||
SetSize([-16,-16,0],[16,16,16]);
|
||||
//botinfo = BOTINFO_HEALTH;
|
||||
|
||||
|
|
Loading…
Reference in a new issue