Fixed character deletion on 2015-11-04 and higher (fixes #1167)
* Resolves characters not being removed from the character select screen after the delete time is met and clicking the delete button. Thanks to @joelolopez, @Darkelfen, and @Lemongrass3110!
This commit is contained in:
@@ -1804,7 +1804,7 @@ int char_mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p)
|
||||
offset += MAP_NAME_LENGTH_EXT;
|
||||
#endif
|
||||
#if PACKETVER >= 20100803
|
||||
#if PACKETVER > 20130000 && PACKETVER < 20141016 || PACKETVER >= 20150826 && PACKETVER < 20151001
|
||||
#if (PACKETVER > 20130000 && PACKETVER < 20141016) || (PACKETVER >= 20150826 && PACKETVER < 20151001) || PACKETVER >= 20151104
|
||||
WBUFL(buf,124) = (p->delete_date?TOL(p->delete_date-time(NULL)):0);
|
||||
#else
|
||||
WBUFL(buf,124) = TOL(p->delete_date);
|
||||
|
||||
Reference in New Issue
Block a user