*Fixed issues Character Deletion Time for the client 2014 or newer. Thanks you to @Nova
This commit is contained in:
Napster 2015-12-20 12:16:35 +07:00
parent 9aa832570e
commit 0042fe5bb6

View File

@ -1767,7 +1767,7 @@ int char_mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p)
offset += MAP_NAME_LENGTH_EXT; offset += MAP_NAME_LENGTH_EXT;
#endif #endif
#if PACKETVER >= 20100803 #if PACKETVER >= 20100803
#if PACKETVER > 20130000 #if PACKETVER > 20130000 && PACKETVER < 20141016
WBUFL(buf,124) = (p->delete_date?TOL(p->delete_date-time(NULL)):0); WBUFL(buf,124) = (p->delete_date?TOL(p->delete_date-time(NULL)):0);
#else #else
WBUFL(buf,124) = TOL(p->delete_date); WBUFL(buf,124) = TOL(p->delete_date);