*** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1826 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b66e690347
commit
72aff09dd1
1 changed files with 5 additions and 5 deletions
|
@ -1525,22 +1525,22 @@ void() BackpackTouch =
|
||||||
|
|
||||||
if (self.weapon == 1)
|
if (self.weapon == 1)
|
||||||
{
|
{
|
||||||
AddStackable(other, IID_AM_10MM, 9+random()*9);
|
AddStackable(other, IID_AM_10MM, floor(9+random()*9));
|
||||||
sprint(other, 2, " 10mm ammo");
|
sprint(other, 2, " 10mm ammo");
|
||||||
}
|
}
|
||||||
if (self.weapon == 2)
|
if (self.weapon == 2)
|
||||||
{
|
{
|
||||||
AddStackable(other, IID_AM_556MM, 5+random()*5);
|
AddStackable(other, IID_AM_556MM, floor(5+random()*5));
|
||||||
sprint(other, 2, " 5mm ammo");
|
sprint(other, 2, " 5mm ammo");
|
||||||
}
|
}
|
||||||
if (self.weapon == 3)
|
if (self.weapon == 3)
|
||||||
{
|
{
|
||||||
AddStackable(other, IID_AM_12GAUGESHELLS, 3+random()*3);
|
AddStackable(other, IID_AM_12GAUGESHELLS, floor(3+random()*3));
|
||||||
sprint(other, 2, " 12 gauge ammo");
|
sprint(other, 2, " 12 gauge ammo");
|
||||||
}
|
}
|
||||||
if (self.weapon == 4)
|
if (self.weapon == 4)
|
||||||
{
|
{
|
||||||
AddStackable(other, IID_AM_10MM, 9+random()*9);
|
AddStackable(other, IID_AM_10MM, floor(9+random()*9));
|
||||||
sprint(other, 2, " 10mm ammo");
|
sprint(other, 2, " 10mm ammo");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1554,7 +1554,7 @@ void() BackpackTouch =
|
||||||
else
|
else
|
||||||
sprint(other, 2, ".\n");
|
sprint(other, 2, ".\n");
|
||||||
|
|
||||||
|
remove(self);
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue