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

Comparing deliantra/server/random_maps/treasure.C (file contents):
Revision 1.26 by root, Sun Mar 18 03:05:40 2007 UTC vs.
Revision 1.27 by elmex, Sun Apr 15 14:15:14 2007 UTC

59wall_blocked (maptile *m, int x, int y) 59wall_blocked (maptile *m, int x, int y)
60{ 60{
61 if (OUT_OF_REAL_MAP (m, x, y)) 61 if (OUT_OF_REAL_MAP (m, x, y))
62 return 1; 62 return 1;
63 63
64 m->at (x, y).update ();
64 int r = GET_MAP_MOVE_BLOCK (m, x, y) & ~MOVE_BLOCK_DEFAULT; 65 return GET_MAP_MOVE_BLOCK (m, x, y) & MOVE_WALK;
65 return r;
66} 66}
67 67
68/* place treasures in the map, given the 68/* place treasures in the map, given the
69map, (required) 69map, (required)
70layout, (required) 70layout, (required)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines