bad cast
This commit is contained in:
parent
b134ad2139
commit
5f4634fa96
1 changed files with 5 additions and 6 deletions
|
|
@ -1492,15 +1492,14 @@ namespace Server.Mobiles
|
|||
{
|
||||
if ( Alive && Core.Expansion >= Expansion.AOS )
|
||||
{
|
||||
if ( from.Party == null && this.Party == null )
|
||||
if ( from.Party == null && this.Party == null ) {
|
||||
list.Add( new AddToPartyEntry( from, this ) );
|
||||
|
||||
else if ( from.Party != null && ((Party)from.Party).Leader == from )
|
||||
{
|
||||
if ( this.Party == null )
|
||||
} else if ( from.Party != null && ((Party)(from.Party)).Leader == from ) {
|
||||
if ( this.Party == null ) {
|
||||
list.Add( new AddToPartyEntry( from, this ) );
|
||||
else if ( this.Party == from.Party )
|
||||
} else if ( this.Party == from.Party ) {
|
||||
list.Add( new RemoveFromPartyEntry( from, this ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue