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.17 by root, Mon Sep 4 17:27:13 2006 UTC vs.
Revision 1.18 by root, Fri Sep 8 16:51:42 2006 UTC

1/* 1/*
2 * static char *rcsid_object_c = 2 * static char *rcsid_object_c =
3 * "$Id: object.C,v 1.17 2006/09/04 17:27:13 root Exp $"; 3 * "$Id: object.C,v 1.18 2006/09/08 16:51:42 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
635{ 635{
636 object *op = new object; 636 object *op = new object;
637 637
638 op->count = ++ob_count; 638 op->count = ++ob_count;
639 639
640 op->active_next = 0;
641 op->active_prev = 0;
642
643 op->next = objects; 640 op->next = objects;
644 op->prev = 0;
645 641
646 if (objects) 642 if (objects)
647 objects->prev = op; 643 objects->prev = op;
648 644
649 objects = op; 645 objects = op;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines