Make pistols appear a little less often.
This commit is contained in:
parent
8bbdeb9407
commit
b4f9692f75
|
@ -67,7 +67,7 @@ static int getRandomPlayerWeaponAt(int x, int y)
|
||||||
{
|
{
|
||||||
type = WPN_PISTOL;
|
type = WPN_PISTOL;
|
||||||
}
|
}
|
||||||
else if (type == WPN_PISTOL && rand() % 100 < 25)
|
else if (type == WPN_PISTOL && rand() % 100 < 65)
|
||||||
{
|
{
|
||||||
type = getRandomPlayerWeapon(world.missionType == MT_BOSS);
|
type = getRandomPlayerWeapon(world.missionType == MT_BOSS);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue