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

Comparing deliantra/server/server/main.C (file contents):
Revision 1.151 by root, Sat Apr 17 02:50:21 2010 UTC vs.
Revision 1.152 by root, Sun Apr 18 12:50:07 2010 UTC

147 if (i < 0) 147 if (i < 0)
148 golem->drop_and_destroy (); 148 golem->drop_and_destroy ();
149 else 149 else
150 { 150 {
151 newmap->insert (golem, x + freearr_x[i], y + freearr_y[i]); 151 newmap->insert (golem, x + freearr_x[i], y + freearr_y[i]);
152 golem->direction = find_dir_2 (x - golem->x, y - golem->y); 152 golem->direction = find_dir_2 (golem->x - x, golem->y - y);
153 } 153 }
154 } 154 }
155 155
156 /* since the players map is already loaded, we don't need to worry 156 /* since the players map is already loaded, we don't need to worry
157 * about pending objects. 157 * about pending objects.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines