ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/object.C
(Generate patch)

Comparing deliantra/server/common/object.C (file contents):
Revision 1.99 by root, Sun Dec 31 18:10:40 2006 UTC vs.
Revision 1.100 by root, Mon Jan 1 12:28:45 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines