More cast conversion fixes
This commit is contained in:
parent
3f45bd57b9
commit
aba9452161
46 changed files with 359 additions and 506 deletions
|
|
@ -1021,7 +1021,7 @@ namespace Server.Items
|
|||
#region Self Looting
|
||||
if ( checkSelfLoot && from == m_Owner && !GetFlag( CorpseFlag.SelfLooted ) && this.Items.Count != 0 )
|
||||
{
|
||||
if ( @from.FindItemOnLayer( Layer.OuterTorso ) is DeathRobe robe )
|
||||
if ( from.FindItemOnLayer( Layer.OuterTorso ) is DeathRobe robe )
|
||||
{
|
||||
Map map = from.Map;
|
||||
|
||||
|
|
@ -1104,7 +1104,7 @@ namespace Server.Items
|
|||
|
||||
#region Quests
|
||||
|
||||
if ( @from is PlayerMobile player )
|
||||
if ( from is PlayerMobile player )
|
||||
{
|
||||
QuestSystem qs = player.Quest;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue