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

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.29 by root, Thu Sep 14 23:13:49 2006 UTC vs.
Revision 1.30 by root, Sat Sep 16 22:24:13 2006 UTC

2458is_legal_2ways_exit (object *op, object *exit) 2458is_legal_2ways_exit (object *op, object *exit)
2459{ 2459{
2460 object *tmp; 2460 object *tmp;
2461 object *exit_owner; 2461 object *exit_owner;
2462 player *pp; 2462 player *pp;
2463 mapstruct *exitmap; 2463 maptile *exitmap;
2464 2464
2465 if (exit->stats.exp != 1) 2465 if (exit->stats.exp != 1)
2466 return 1; /*This is not a 2 way, so it is legal */ 2466 return 1; /*This is not a 2 way, so it is legal */
2467 if (!has_been_loaded (EXIT_PATH (exit)) && exit->race) 2467 if (!has_been_loaded (EXIT_PATH (exit)) && exit->race)
2468 return 0; /* This is a reset town portal */ 2468 return 0; /* This is a reset town portal */
3714 * when an original map is loaded) and performs special actions for 3714 * when an original map is loaded) and performs special actions for
3715 * certain objects (most initialization of chests and creation of 3715 * certain objects (most initialization of chests and creation of
3716 * treasures and stuff). Calls auto_apply if appropriate. 3716 * treasures and stuff). Calls auto_apply if appropriate.
3717 */ 3717 */
3718void 3718void
3719fix_auto_apply (mapstruct *m) 3719fix_auto_apply (maptile *m)
3720{ 3720{
3721 object *tmp, *above = NULL; 3721 object *tmp, *above = NULL;
3722 int x, y; 3722 int x, y;
3723 3723
3724 if (m == NULL) 3724 if (m == NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines