SERVER: Adjust bounding box size for Power-Ups

This commit is contained in:
cypress 2024-05-15 19:25:36 -07:00
parent 61aaa52d0d
commit 1e14191d34

View file

@ -643,6 +643,9 @@ void() PU_Flash =
#endif // FTE
// Re-set the size after relink.
setsize(self, '-8 -8 -16', '8 8 16');
// Too late, free the Power-Up
if (self.hitcount >= 40) {
Light_None(self);
@ -762,7 +765,7 @@ void(vector where, float type) Spawn_Powerup =
powerup.solid = SOLID_TRIGGER;
powerup.classname = "item_powerup";
setsize(powerup, VEC_HULL_MIN, VEC_HULL_MAX);
setsize(powerup, '-8 -8 -16', '8 8 16');
powerup.movetype = MOVETYPE_NONE;
Light_Green(powerup);