From 9161863f6af97843e90fd5a0aa3bb325e863f416 Mon Sep 17 00:00:00 2001 From: Flugente Date: Mon, 4 Jun 2018 19:11:49 +0000 Subject: [PATCH] If FOOD_EATING_SOUNDS is FALSE, don't play the 'cool' sounds when applying items to soldiers git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8568 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Soldier Control.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tactical/Soldier Control.cpp b/Tactical/Soldier Control.cpp index ad95de26..ac2e3bce 100644 --- a/Tactical/Soldier Control.cpp +++ b/Tactical/Soldier Control.cpp @@ -24096,6 +24096,9 @@ BOOLEAN ApplyConsumable( SOLDIERTYPE* pSoldier, OBJECTTYPE *pObj, BOOLEAN fForce fDoSound = TRUE; } } + + if ( !gGameExternalOptions.fFoodEatingSounds ) + fDoSound = FALSE; if ( fSuccess ) {