--- deliantra/server/server/spell_attack.C 2006/12/12 21:39:57 1.17 +++ deliantra/server/server/spell_attack.C 2006/12/13 00:42:04 1.18 @@ -142,8 +142,7 @@ return; /* OK, we made a fork */ - new_bolt = object::create (); - tmp->copy_to (new_bolt); + new_bolt = tmp->clone (); /* reduce chances of subsequent forking */ new_bolt->stats.Dex -= 10; @@ -251,8 +250,8 @@ } else { /* Create a copy of this object and put it ahead */ - tmp = object::create (); - op->copy_to (tmp); + tmp = op->clone (); + tmp->speed_left = -0.1; tmp->x += DIRX (tmp), tmp->y += DIRY (tmp); tmp = insert_ob_in_map (tmp, op->map, op, 0); @@ -385,8 +384,7 @@ */ if (ok_to_put_more (op->map, dx, dy, op, op->attacktype)) { - tmp = object::create (); - op->copy_to (tmp); + tmp = op->clone (); tmp->state = 0; tmp->speed_left = -0.21; tmp->range--; @@ -807,9 +805,8 @@ if (ok_to_put_more (op->map, x, y, op, op->attacktype)) { - object *tmp = object::create (); + object *tmp = op->clone (); - op->copy_to (tmp); tmp->x = x; tmp->y = y;