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.157 by root, Mon May 28 21:21:40 2007 UTC vs.
Revision 1.158 by root, Mon Jun 4 12:19:08 2007 UTC

1488 object *tmp, *tmp1; 1488 object *tmp, *tmp1;
1489 1489
1490 /* first search for itself and remove any old instances */ 1490 /* first search for itself and remove any old instances */
1491 1491
1492 for (tmp = op->ms ().bot; tmp; tmp = tmp->above) 1492 for (tmp = op->ms ().bot; tmp; tmp = tmp->above)
1493 if (!strcmp (tmp->arch->name, arch_string)) /* same archetype */ 1493 if (!strcmp (tmp->arch->archname, arch_string)) /* same archetype */
1494 tmp->destroy (); 1494 tmp->destroy ();
1495 1495
1496 tmp1 = arch_to_object (archetype::find (arch_string)); 1496 tmp1 = arch_to_object (archetype::find (arch_string));
1497 1497
1498 tmp1->x = op->x; 1498 tmp1->x = op->x;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines