From b4f9692f75d8d75561a6fb69dd61010d0def33a3 Mon Sep 17 00:00:00 2001 From: Steve Date: Sat, 3 Mar 2018 16:05:17 +0000 Subject: [PATCH] Make pistols appear a little less often. --- src/world/items.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/items.c b/src/world/items.c index 37604eb..b3a2301 100644 --- a/src/world/items.c +++ b/src/world/items.c @@ -67,7 +67,7 @@ static int getRandomPlayerWeaponAt(int x, int y) { 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); }