From 5d028b3bb896760004b38f6faf96d10dce6a5d22 Mon Sep 17 00:00:00 2001 From: MaddMugsy Date: Fri, 4 Aug 2006 19:38:02 +0000 Subject: [PATCH] -item tooltips now display combined weight of items in a stack git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@405 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- GameVersion.cpp | 2 +- Tactical/Interface Items.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/GameVersion.cpp b/GameVersion.cpp index 183b2115..5e18abf8 100644 --- a/GameVersion.cpp +++ b/GameVersion.cpp @@ -23,7 +23,7 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" }; #else //RELEASE BUILD VERSION - INT16 zVersionLabel[256] = { L"Release v1.13.404" }; + INT16 zVersionLabel[256] = { L"Release v1.13.405" }; #endif diff --git a/Tactical/Interface Items.cpp b/Tactical/Interface Items.cpp index c16badc2..ab3bed87 100644 --- a/Tactical/Interface Items.cpp +++ b/Tactical/Interface Items.cpp @@ -7316,6 +7316,8 @@ void GetHelpTextForItem( INT16 * pzStr, OBJECTTYPE *pObject, SOLDIERTYPE *pSoldi } + if ( Item[usItem].usItemClass != IC_AMMO || !gGameExternalOptions.fAmmoDynamicWeight ) //Madd: quick fix to display total stack weight + fWeight *= pObject->ubNumberOfObjects; switch( Item[ usItem ].usItemClass ) {