From 6c8a1905caf0e62e44a41e8ac2aeac31d5c98ff1 Mon Sep 17 00:00:00 2001 From: Wanne Date: Fri, 6 Apr 2012 08:41:48 +0000 Subject: [PATCH] - Fixed Qarray variables aka MercQuote.xml data not fully externalized (by Buggler) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5167 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Handle Items.cpp | 2 +- Tactical/Rotting Corpses.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tactical/Handle Items.cpp b/Tactical/Handle Items.cpp index a2ccf165..61ca2b79 100644 --- a/Tactical/Handle Items.cpp +++ b/Tactical/Handle Items.cpp @@ -5786,7 +5786,7 @@ void SoldierStealItemFromSoldier( SOLDIERTYPE *pSoldier, SOLDIERTYPE *pOpponent, if ( fShouldSayCoolQuote && pSoldier->bTeam == gbPlayerNum ) { // Do we have this quote..? - if ( QuoteExp_GotGunOrUsedGun[ pSoldier->ubProfile ] == QUOTE_FOUND_SOMETHING_SPECIAL ) + if ( QuoteExp[ pSoldier->ubProfile ].QuoteExpGotGunOrUsedGun == QUOTE_FOUND_SOMETHING_SPECIAL ) { // Have we not said it today? if ( !( pSoldier->usQuoteSaidFlags & SOLDIER_QUOTE_SAID_FOUND_SOMETHING_NICE ) ) diff --git a/Tactical/Rotting Corpses.cpp b/Tactical/Rotting Corpses.cpp index ba58e3d2..321edae4 100644 --- a/Tactical/Rotting Corpses.cpp +++ b/Tactical/Rotting Corpses.cpp @@ -1929,7 +1929,7 @@ void LookForAndMayCommentOnSeeingCorpse( SOLDIERTYPE *pSoldier, INT32 sGridNo, U SOLDIERTYPE *pTeamSoldier; - if ( QuoteExp_HeadShotOnly[ pSoldier->ubProfile ] == 1 ) + if ( QuoteExp[ pSoldier->ubProfile ].QuoteExpHeadShotOnly == 1 ) { return; }