From 150b05e0b56df2dfd9fff37f1ebc69a90fcb5627 Mon Sep 17 00:00:00 2001 From: Flugente Date: Wed, 18 Apr 2018 23:12:33 +0000 Subject: [PATCH] Fix: sound for drinking water played twice git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8557 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Items.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Tactical/Items.cpp b/Tactical/Items.cpp index 79018106..8a9ee2c6 100644 --- a/Tactical/Items.cpp +++ b/Tactical/Items.cpp @@ -9684,18 +9684,6 @@ BOOLEAN ApplyCanteen( SOLDIERTYPE * pSoldier, UINT16 usItem, UINT16 usPointsToUs return(FALSE); } - if ( pSoldier->bTeam == gbPlayerNum ) - { - if ( gMercProfiles[pSoldier->ubProfile].bSex == MALE ) - { - PlayJA2Sample( DRINK_CANTEEN_MALE, RATE_11025, MIDVOLUME, 1, MIDDLEPAN ); - } - else - { - PlayJA2Sample( DRINK_CANTEEN_FEMALE, RATE_11025, MIDVOLUME, 1, MIDDLEPAN ); - } - } - // CJC Feb 9. Canteens don't seem effective enough, so doubled return from them DeductPoints( pSoldier, 0, (INT16)(2 * usPointsToUse * -(100 - pSoldier->bBreath)) );