1 | /* |
1 | /* |
2 | * static char *rcsid_alchemy_c = |
2 | * static char *rcsid_alchemy_c = |
3 | * "$Id: alchemy.C,v 1.2 2006/08/15 16:19:55 elmex Exp $"; |
3 | * "$Id: alchemy.C,v 1.3 2006/08/15 17:35:51 elmex Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
110 | object *item, *skop; |
110 | object *item, *skop; |
111 | |
111 | |
112 | if (caster->type!=PLAYER) |
112 | if (caster->type!=PLAYER) |
113 | return; /* only players for now */ |
113 | return; /* only players for now */ |
114 | |
114 | |
115 | if (get_map_flags(caster->map, NULL, caster->x, caster->y, NULL, NULL) & P_SAFE_MAP) |
115 | if (get_map_flags(caster->map, NULL, caster->x, caster->y, NULL, NULL) & P_SAFE) |
116 | { |
116 | { |
117 | new_draw_info (NDI_UNIQUE, 0, caster, |
117 | new_draw_info (NDI_UNIQUE, 0, caster, |
118 | "This is sacred ground, the gods prevent you from using this device." |
118 | "This is sacred ground, the gods prevent you from using this device." |
119 | ); |
119 | ); |
120 | return; |
120 | return; |