mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
-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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user