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

Comparing deliantra/server/common/links.C (file contents):
Revision 1.13 by root, Mon Oct 12 14:00:57 2009 UTC vs.
Revision 1.14 by root, Sun Nov 29 10:55:18 2009 UTC

27 * Allocates a new objectlink structure, initialises it, and returns 27 * Allocates a new objectlink structure, initialises it, and returns
28 * a pointer to it. 28 * a pointer to it.
29 */ 29 */
30 30
31objectlink * 31objectlink *
32get_objectlink (void) 32get_objectlink ()
33{ 33{
34 objectlink *ol = new objectlink; 34 objectlink *ol = new objectlink;
35 35
36 ol->ob = 0; 36 ol->ob = 0;
37 ol->next = 0; 37 ol->next = 0;
43 * Allocates a new oblinkpt structure, initialises it, and returns 43 * Allocates a new oblinkpt structure, initialises it, and returns
44 * a pointer to it. 44 * a pointer to it.
45 */ 45 */
46 46
47oblinkpt * 47oblinkpt *
48get_objectlinkpt (void) 48get_objectlinkpt ()
49{ 49{
50 oblinkpt *obp = new oblinkpt; 50 oblinkpt *obp = new oblinkpt;
51 51
52 obp->link = 0; 52 obp->link = 0;
53 obp->next = 0; 53 obp->next = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines