sync and some misc things

This commit is contained in:
mark 2010-10-21 04:25:47 +00:00
parent d1f9a38518
commit ed97d43c9e
15 changed files with 77 additions and 78 deletions

View file

@ -1468,18 +1468,18 @@ namespace Server.Mobiles
int price;
string description;
if ( int.TryParse( firstWord, out price ) )
{
if ( sep >= 0 )
description = text.Substring( sep + 1 ).Trim();
else
description = "";
}
else
{
price = -1;
description = text.Trim();
}
if ( int.TryParse( firstWord, out price ) )
{
if ( sep >= 0 )
description = text.Substring( sep + 1 ).Trim();
else
description = "";
}
else
{
price = -1;
description = text.Trim();
}
SetInfo( from, price, Utility.FixHtml( description ) );
}