… | … | ||
---|---|---|---|
986 | else if (map) | 986 | else if (map) |
987 | { | 987 | { |
988 | if (type == PLAYER) | 988 | if (type == PLAYER) |
989 | { | 989 | { |
990 | --map->players; | 990 | --map->players; |
991 | map->last_access = runtime; | 991 | map->touch (); |
992 | } | 992 | } |
993 | 993 | ||
994 | map->dirty = true; | 994 | map->dirty = true; |
995 | 995 | ||
996 | /* link the object above us */ | 996 | /* link the object above us */ |
… | … | ||
1376 | 1376 | ||
1377 | if (op->type == PLAYER) | 1377 | if (op->type == PLAYER) |
1378 | { | 1378 | { |
1379 | op->contr->do_los = 1; | 1379 | op->contr->do_los = 1; |
1380 | ++op->map->players; | 1380 | ++op->map->players; |
1381 | op->map->last_access = runtime; | 1381 | op->map->touch (); |
1382 | } | 1382 | } |
1383 | 1383 | ||
1384 | op->map->dirty = true; | 1384 | op->map->dirty = true; |
1385 | 1385 | ||
1386 | /* If we have a floor, we know the player, if any, will be above | 1386 | /* If we have a floor, we know the player, if any, will be above |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |