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.116 by root, Sun Sep 9 06:56:10 2007 UTC vs.
Revision 1.117 by root, Wed Sep 12 11:10:11 2007 UTC

147 147
148 // remove, so stupid ob_locked does not trigger a failure 148 // remove, so stupid ob_locked does not trigger a failure
149 remove (); 149 remove ();
150 150
151 /* try to find a spot for the player */ 151 /* try to find a spot for the player */
152 if (ob_blocked (this, newmap, x, y)) 152 if (blocked (newmap, x, y))
153 { /* First choice blocked */ 153 { /* First choice blocked */
154 /* We try to find a spot for the player, starting closest in. 154 /* We try to find a spot for the player, starting closest in.
155 * We could use find_first_free_spot, but that doesn't randomize it at all, 155 * We could use find_first_free_spot, but that doesn't randomize it at all,
156 * So for example, if the north space is free, you would always end up there even 156 * So for example, if the north space is free, you would always end up there even
157 * if other spaces around are available. 157 * if other spaces around are available.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines