parent
088f7f68fc
commit
034a283a28
@ -636,7 +636,7 @@ void cProtocol172::SendSpawnFallingBlock(const cFallingBlock & a_FallingBlock)
|
|||||||
void cProtocol172::SendSpawnMob(const cMonster & a_Mob)
|
void cProtocol172::SendSpawnMob(const cMonster & a_Mob)
|
||||||
{
|
{
|
||||||
cPacketizer Pkt(*this, 0x0f); // Spawn Mob packet
|
cPacketizer Pkt(*this, 0x0f); // Spawn Mob packet
|
||||||
Pkt.WriteInt(a_Mob.GetUniqueID());
|
Pkt.WriteVarInt(a_Mob.GetUniqueID());
|
||||||
Pkt.WriteByte((Byte)a_Mob.GetMobType());
|
Pkt.WriteByte((Byte)a_Mob.GetMobType());
|
||||||
Pkt.WriteFPInt(a_Mob.GetPosX());
|
Pkt.WriteFPInt(a_Mob.GetPosX());
|
||||||
Pkt.WriteFPInt(a_Mob.GetPosY());
|
Pkt.WriteFPInt(a_Mob.GetPosY());
|
||||||
|
Loading…
Reference in New Issue
Block a user