shithub: choc

Download patch

ref: 275671aaafbda33fe4ea0f01e4f05cdf1c148d33
parent: 5dcf8333d6fd756c88bc6875a15e2006ac4aa6f5
author: James Haley <haleyjd@hotmail.com>
date: Mon Dec 15 05:46:15 EST 2014

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.

--- a/src/strife/p_dialog.c
+++ b/src/strife/p_dialog.c
@@ -762,6 +762,7 @@
     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))