summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/eathena/homunculushandler.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net/eathena/homunculushandler.cpp b/src/net/eathena/homunculushandler.cpp
index 8796621f3..4cefb8899 100644
--- a/src/net/eathena/homunculushandler.cpp
+++ b/src/net/eathena/homunculushandler.cpp
@@ -245,7 +245,7 @@ void HomunculusHandler::moveToMaster() const
if (!id)
return;
createOutPacket(CMSG_HOMMERC_MOVE_TO_MASTER);
- outMsg.writeInt32(id);
+ outMsg.writeInt32(id, "homunculus id");
}
void HomunculusHandler::move(const int x, const int y) const
@@ -254,10 +254,10 @@ void HomunculusHandler::move(const int x, const int y) const
if (!id)
return;
createOutPacket(CMSG_HOMMERC_MOVE_TO);
- outMsg.writeInt32(id);
+ outMsg.writeInt32(id, "homunculus id");
outMsg.writeCoordinates(static_cast<uint16_t>(x),
static_cast<uint16_t>(y),
- 0U);
+ 0U, "position");
}
void HomunculusHandler::attack(const int targetId, const bool keep) const
@@ -266,9 +266,9 @@ void HomunculusHandler::attack(const int targetId, const bool keep) const
if (!id)
return;
createOutPacket(CMSG_HOMMERC_ATTACK);
- outMsg.writeInt32(id);
- outMsg.writeInt32(targetId);
- outMsg.writeInt8(static_cast<int8_t>(keep ? 1 : 0));
+ outMsg.writeInt32(id, "homunculus id");
+ outMsg.writeInt32(targetId, "target id");
+ outMsg.writeInt8(static_cast<int8_t>(keep ? 1 : 0), "keep");
}
void HomunculusHandler::feed() const