From 275671aaafbda33fe4ea0f01e4f05cdf1c148d33 Mon Sep 17 00:00:00 2001 From: James Haley Date: Mon, 15 Dec 2014 10:46:15 -0600 Subject: Upstream fix from SVE: Missing break statement This caused Rowan to fail to take Beldin's ring from you, if and only if you had full bullet ammo. Transcription error from the disassembly. --- src/strife/p_dialog.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/strife/p_dialog.c b/src/strife/p_dialog.c index 804084e4..a18fec7d 100644 --- a/src/strife/p_dialog.c +++ b/src/strife/p_dialog.c @@ -762,6 +762,7 @@ boolean P_GiveItemToPlayer(player_t *player, int sprnum, mobjtype_t type) case SPR_CHST: // 50 gold for(i = 0; i < 50; i++) P_GiveInventoryItem(player, SPR_COIN, MT_MONY_1); + break; // haleyjd 20141215: missing break, caused Rowan to not take ring from you. case SPR_BBOX: // Box of Bullets if(!P_GiveAmmo(player, am_bullets, 5)) -- cgit v1.2.3