mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- fix: lines in UDB were displayed incorrectly
- fix: food does not decay the first time a sector is entered (to prevent pre-placed items from rotting) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5448 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2709,7 +2709,7 @@ void InternalInitEDBTooltipRegion( OBJECTTYPE * gpItemDescObject, UINT32 guiCurr
|
||||
///////////////////// AIM BONUS MODIFIER
|
||||
if(UsingNewCTHSystem() == false)
|
||||
{
|
||||
if ( GetAimBonus( NULL, gpItemDescObject, 100, 1 ) != 0 )
|
||||
if ( GetAimBonus( gpItemDescSoldier, gpItemDescObject, 100, 1 ) != 0 )
|
||||
{
|
||||
if (cnt >= sFirstLine && cnt < sLastLine)
|
||||
{
|
||||
@@ -8807,7 +8807,7 @@ void DrawAdvancedValues( OBJECTTYPE *gpItemDescObject )
|
||||
///////////////////// AIM BONUS MODIFIER
|
||||
if(UsingNewCTHSystem() == false)
|
||||
{
|
||||
iModifier[0] = GetAimBonus( NULL, gpItemDescObject, 100, 1 );
|
||||
iModifier[0] = GetAimBonus( gpItemDescSoldier, gpItemDescObject, 100, 1 );
|
||||
iModifier[1] = 0;
|
||||
iModifier[2] = 0;
|
||||
if (iModifier[0] != 0 || iModifier[1] != 0 || iModifier[2] != 0)
|
||||
|
||||
Reference in New Issue
Block a user