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

Comparing deliantra/server/server/player.C (file contents):
Revision 1.180 by root, Tue Apr 15 14:06:36 2008 UTC vs.
Revision 1.181 by root, Tue Apr 15 14:21:04 2008 UTC

2173bool 2173bool
2174move_player (object *op, int dir) 2174move_player (object *op, int dir)
2175{ 2175{
2176 int pick; 2176 int pick;
2177 2177
2178 if (!op->map || op->map->in_memory != MAP_IN_MEMORY) 2178 if (!op->map || op->map->in_memory != MAP_ACTIVE)
2179 return 0; 2179 return 0;
2180 2180
2181 /* Sanity check: make sure dir is valid */ 2181 /* Sanity check: make sure dir is valid */
2182 if ((dir < 0) || (dir >= 9)) 2182 if ((dir < 0) || (dir >= 9))
2183 { 2183 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines