Renames pvSrc (#277)

This commit is contained in:
Kamron Batman 2020-10-17 22:04:44 -07:00 • committed by GitHub
parent 4211835b5d
commit 24bf97282e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 533 additions and 533 deletions

View file

@ -334,20 +334,20 @@ namespace Server.Items
PacketHandlers.Register(0x56, 11, true, OnMapCommand);
}
private static void OnMapCommand(NetState state, PacketReader pvSrc)
private static void OnMapCommand(NetState state, PacketReader reader)
{
var from = state.Mobile;
if (!(World.FindItem(pvSrc.ReadUInt32()) is MapItem map))
if (!(World.FindItem(reader.ReadUInt32()) is MapItem map))
{
return;
}
int command = pvSrc.ReadByte();
int number = pvSrc.ReadByte();
int command = reader.ReadByte();
int number = reader.ReadByte();
int x = pvSrc.ReadInt16();
int y = pvSrc.ReadInt16();
int x = reader.ReadInt16();
int y = reader.ReadInt16();
switch (command)
{