Skip to content

Commit

Permalink
Merge pull request #1308 from drzel/fix-hard-to-pickup-items
Browse files Browse the repository at this point in the history
Set discard and ammobox sizes same as backpacks
  • Loading branch information
drzel authored Mar 20, 2024
2 parents 43a38d7 + f7924dc commit 4d9986e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ssqc/actions.qc
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void () TeamFortress_Discard = {
newmis.velocity_z = 200;
}
newmis.avelocity = '0 300 0';
setsize(newmis, '0 0 0', '0 0 0');
setsize(newmis, '-16 -16 0', '16 16 56');
setorigin(newmis, self.origin);
newmis.nextthink = time + 30;
newmis.think = SUB_Remove;
Expand Down
2 changes: 1 addition & 1 deletion ssqc/tfort.qc
Original file line number Diff line number Diff line change
Expand Up @@ -2252,7 +2252,7 @@ void (float type, float ammo) TeamFortress_DropAmmo = {
newmis.velocity_z = 200;
}
newmis.avelocity = '0 300 0';
setsize(newmis, '0 0 0', '0 0 0');
setsize(newmis, '-16 -16 0', '16 16 56');
setorigin(newmis, self.origin);
newmis.nextthink = time + 30;
newmis.think = SUB_Remove;
Expand Down

0 comments on commit 4d9986e

Please sign in to comment.