Fixed layer on FishingPole.

This commit is contained in:
eos 2012-08-26 23:27:19 +00:00
parent f36ac813ed
commit d6c2a0049c

View file

@ -14,7 +14,7 @@ namespace Server.Items
[Constructable] [Constructable]
public FishingPole() : base( 0x0DC0 ) public FishingPole() : base( 0x0DC0 )
{ {
Layer = Layer.OneHanded; Layer = Layer.TwoHanded;
Weight = 8.0; Weight = 8.0;
} }
@ -43,7 +43,7 @@ namespace Server.Items
{ {
base.Serialize( writer ); base.Serialize( writer );
writer.Write( (int) 0 ); // version writer.Write( (int) 1 ); // version
} }
public override void Deserialize( GenericReader reader ) public override void Deserialize( GenericReader reader )
@ -51,6 +51,9 @@ namespace Server.Items
base.Deserialize( reader ); base.Deserialize( reader );
int version = reader.ReadInt(); int version = reader.ReadInt();
if ( version < 1 && Layer == Layer.OneHanded )
Layer = Layer.TwoHanded;
} }
} }
} }