diff options
| author | June McEnroe <programble@gmail.com> | 2017-07-31 19:21:50 -0400 |
|---|---|---|
| committer | June McEnroe <programble@gmail.com> | 2017-07-31 19:21:50 -0400 |
| commit | 6f8a935ad423b4d44fc7c63804c14858c12ba137 (patch) | |
| tree | c1c9deb9d2c45b01c9c5bf2ec7ec36c9abe08a64 /server.c | |
| parent | Adjust move speed in client (diff) | |
| download | torus-6f8a935ad423b4d44fc7c63804c14858c12ba137.tar.gz torus-6f8a935ad423b4d44fc7c63804c14858c12ba137.zip | |
Track tile access counts
Diffstat (limited to '')
| -rwxr-xr-x | server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server.c b/server.c index cea66c1..46f4c06 100755 --- a/server.c +++ b/server.c @@ -44,6 +44,7 @@ static struct Tile *tileGet(uint32_t tileX, uint32_t tileY) { tile->create = time(NULL); } tile->access = time(NULL); + tile->accessCount++; return tile; } |