general cleanup, fixed a slightly improbably crash issue

This commit is contained in:
mark 2007-08-12 07:19:44 +00:00
parent 6780b3c2e7
commit b9e3476d8b
26 changed files with 62 additions and 67 deletions

View file

@ -173,8 +173,8 @@ namespace Server.SkillHandlers
{
int y = 276;
if ( Core.SE )
{
if ( Core.SE )
{
double bd = Items.BaseInstrument.GetBaseDifficulty( c );
if ( c.Uncalmable )
bd = 0;
@ -183,7 +183,7 @@ namespace Server.SkillHandlers
AddHtml( 320, y, 35, 18, FormatDouble( bd ), false, false );
y += 18;
}
}
AddImage( 128, y + 2, 2086 );
AddHtmlLocalized( 147, y, 160, 18, 1049594, 200, false, false ); // Loyalty Rating