|
@@ -1772,7 +1772,7 @@ int count_users(void)
|
|
|
// Writes char data to the buffer in the format used by the client.
|
|
|
// Used in packets 0x6b (chars info) and 0x6d (new char info)
|
|
|
// Returns the size
|
|
|
-#define MAX_CHAR_BUF 132 //Max size (for WFIFOHEAD calls)
|
|
|
+#define MAX_CHAR_BUF 136 //Max size (for WFIFOHEAD calls)
|
|
|
int mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p)
|
|
|
{
|
|
|
unsigned short offset = 0;
|
|
@@ -1835,6 +1835,10 @@ int mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p)
|
|
|
#if PACKETVER >= 20100803
|
|
|
WBUFL(buf,124) = TOL(p->delete_date);
|
|
|
offset += 4;
|
|
|
+#endif
|
|
|
+#if PACKETVER >= 20110111
|
|
|
+ WBUFL(buf,128) = 0; // robe sprite id
|
|
|
+ offset += 4;
|
|
|
#endif
|
|
|
return 106+offset;
|
|
|
}
|