ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/cfperl.xs
(Generate patch)

Comparing deliantra/server/server/cfperl.xs (file contents):
Revision 1.113 by root, Tue Dec 26 08:54:59 2006 UTC vs.
Revision 1.114 by root, Wed Dec 27 09:28:02 2006 UTC

1797{ 1797{
1798 // reattach to all attachable objects in the game. 1798 // reattach to all attachable objects in the game.
1799 for (sockvec::iterator i = clients.begin (); i != clients.end (); ++i) 1799 for (sockvec::iterator i = clients.begin (); i != clients.end (); ++i)
1800 (*i)->reattach (); 1800 (*i)->reattach ();
1801 1801
1802 for (player *pl = first_player; pl; pl = pl->next) 1802 for_all_players (pl)
1803 pl->reattach (); 1803 pl->reattach ();
1804 1804
1805 for (maptile *m = first_map; m; m = m->next) 1805 for_all_maps (m)
1806 m->reattach (); 1806 m->reattach ();
1807 1807
1808 for (object *op = object::first; op; op = op->next) 1808 for (object *op = object::first; op; op = op->next)
1809 op->reattach (); 1809 op->reattach ();
1810} 1810}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines