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:
Lemongrass3110
2018-12-21 00:02:19 +01:00
committed by GitHub
parent 0d816975f7
commit 01f61cfa4f
46 changed files with 495 additions and 424 deletions

View File

@@ -418,7 +418,7 @@ int map_delblock(struct block_list* bl)
* @param tick : when this was scheduled
* @return 0:success, 1:fail
*/
int map_moveblock(struct block_list *bl, int x1, int y1, unsigned int tick)
int map_moveblock(struct block_list *bl, int x1, int y1, t_tick tick)
{
int x0 = bl->x, y0 = bl->y;
struct status_change *sc = NULL;