Changed the ammo/item bbox sizes to be the real ones. Thanks Jimmy.

This commit is contained in:
Marco Cawthorne 2019-08-19 02:45:45 -07:00
parent a196e47cdb
commit d207ad33de
5 changed files with 5 additions and 5 deletions

View file

@ -37,7 +37,7 @@ void item_ammo::Respawn(void)
setmodel(this, m_oldModel);
}
setsize(this, [-8,-8,0], [8,8,48]);
setsize(this, [-16,-16,0], [16,16,16]);
setorigin(this, origin);
think = __NULL__;

View file

@ -43,7 +43,7 @@ void item_battery::Respawn(void)
movetype = MOVETYPE_TOSS;
setmodel(this, m_oldModel);
setsize(this, [-8,-8,0], [8,8,48]);
setsize(this, [-16,-16,0], [16,16,16]);
setorigin(this, m_oldOrigin);
think = __NULL__;

View file

@ -39,7 +39,7 @@ void item_healthkit::Respawn(void)
setmodel(this, m_oldModel);
setsize(this, [-8,-8,0], [8,8,48]);
setsize(this, [-16,-16,0], [16,16,16]);
setorigin(this, m_oldOrigin);
think = __NULL__;

View file

@ -41,7 +41,7 @@ void item_longjump::Respawn(void)
{
solid = SOLID_TRIGGER;
movetype = MOVETYPE_TOSS;
setsize(this, VEC_HULL_MIN, VEC_HULL_MAX);
setsize(this, [-16,-16,0],[16,16,16]);
setorigin(this, m_oldOrigin);
setmodel(this, m_oldModel);

View file

@ -55,7 +55,7 @@ void item_pickup::Respawn(void)
setmodel(this, m_oldModel);
}
setsize(this, [-24,-24,0], [24,24,48]);
setsize(this, [-16,-16,0], [16,16,16]);
think = __NULL__;
nextthink = -1;