-fixed steath.col -> stealth.col typo in Animation Control.cpp

-changed when equipment bonuses are applied to better handle dropping / throwing items

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@377 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
MaddMugsy
2006-07-28 19:38:57 +00:00
parent 3c88da4e03
commit 9dc17723fc
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -23,12 +23,12 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" };
#else
//RELEASE BUILD VERSION
INT16 zVersionLabel[256] = { L"Release v1.13.368" };
INT16 zVersionLabel[256] = { L"Release v1.13.377" };
#endif
INT8 czVersionNumber[16] = { "Build 06.07.22" };
INT8 czVersionNumber[16] = { "Build 06.07.28" };
INT16 zTrackingNumber[16] = { L"Z" };
+1 -1
View File
@@ -3212,7 +3212,7 @@ INT8 GetBodyTypePaletteSubstitutionCode( SOLDIERTYPE *pSoldier, UINT8 ubBodyType
// Check for cammo...
if ( GetWornStealth(pSoldier) >= 50 )
{
strcpy( zColFilename, "ANIMS\\steath.col" );
strcpy( zColFilename, "ANIMS\\stealth.col" );
return( 1 );
}
else if ( ( pSoldier->bCamo + pSoldier->wornCamo ) >= 50 )
+2
View File
@@ -2033,6 +2033,8 @@ void RenderSMPanel( BOOLEAN *pfDirty )
FindFontRightCoordinates(SM_WEIGHT_X, SM_WEIGHT_Y ,SM_PERCENT_WIDTH ,SM_PERCENT_HEIGHT ,sString, BLOCKFONT2, &usX, &usY);
mprintf( usX, usY , sString );
ApplyEquipmentBonuses(gpSMCurrentMerc);
// Display cammo value!
swprintf( sString, L"%3d", max(0, min( (gpSMCurrentMerc->bCamo + gpSMCurrentMerc->wornCamo),100 )) );
FindFontRightCoordinates(SM_CAMMO_X, SM_CAMMO_Y ,SM_PERCENT_WIDTH ,SM_PERCENT_HEIGHT ,sString, BLOCKFONT2, &usX, &usY);
-2
View File
@@ -3711,8 +3711,6 @@ BOOLEAN PlaceObject( SOLDIERTYPE * pSoldier, INT8 bPos, OBJECTTYPE * pObj )
UpdateRobotControllerGivenController( pSoldier );
}
ApplyEquipmentBonuses(pSoldier);
return( TRUE );
}