Fixed character deletion for 2015-10-01 onwards

Fixes #1133
This commit is contained in:
Lemongrass3110 2016-04-03 21:06:31 +02:00
parent 4165b1dde1
commit 7a0b628acb

View File

@ -1804,7 +1804,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 && PACKETVER < 20141016 || PACKETVER >= 20150826 #if PACKETVER > 20130000 && PACKETVER < 20141016 || PACKETVER >= 20150826 && PACKETVER < 20151001
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);