mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-24 21:02:14 +00:00
SERVER: Adjust bounding box size for Power-Ups
This commit is contained in:
parent
61aaa52d0d
commit
1e14191d34
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue