Added support for 64bit ticks (#3768)
Fixes #3017 Thanks to Hercules for the idea and their implementation of it. This deprecates Windows XP support. If you want to use it to run your server on it, you have to forcefully enable it now. Since 64bit ticks do not exist on XP, you might encounter some issues that are already fixed on other OS.
This commit is contained in:
@@ -219,7 +219,7 @@ int channel_join(struct Channel *channel, struct map_session_data *sd) {
|
||||
RECREATE(sd->channels, struct Channel *, ++sd->channel_count);
|
||||
sd->channels[ sd->channel_count - 1 ] = channel;
|
||||
idb_put(channel->users, sd->status.char_id, sd);
|
||||
RECREATE(sd->channel_tick, unsigned int, sd->channel_count);
|
||||
RECREATE(sd->channel_tick, t_tick, sd->channel_count);
|
||||
sd->channel_tick[sd->channel_count-1] = 0;
|
||||
|
||||
if( sd->stealth ) {
|
||||
|
||||
Reference in New Issue
Block a user