forked from github/server
Feuerwände im Astralraum Werden durch Astralblock ersetzt. Ausserdem wird aus dem mapper heraus wieder eine Grenze von Feuerwänden um ältere Gebiete herum gezogen.
This commit is contained in:
parent
7a69ac541b
commit
cb9eaf426c
|
@ -311,7 +311,7 @@ age_unit(region * r, unit * u)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ASTRAL_ITEM_RESTRICTIONS
|
#ifdef ASTRAL_ITEM_RESTRICTIONS
|
||||||
if (u->region->planep==astral_plane) {
|
if (u->region->planep==get_astralplane()) {
|
||||||
item ** itemp = &u->items;
|
item ** itemp = &u->items;
|
||||||
while (*itemp) {
|
while (*itemp) {
|
||||||
item * itm = *itemp;
|
item * itm = *itemp;
|
||||||
|
|
|
@ -366,8 +366,6 @@ extern void create_newfamiliar(struct unit * mage, struct unit * familiar);
|
||||||
extern void create_newclone(struct unit * mage, struct unit * familiar);
|
extern void create_newclone(struct unit * mage, struct unit * familiar);
|
||||||
extern struct unit * has_clone(struct unit * mage);
|
extern struct unit * has_clone(struct unit * mage);
|
||||||
|
|
||||||
extern struct plane * astral_plane;
|
|
||||||
|
|
||||||
extern const char * spell_info(const struct spell * sp, const struct locale * lang);
|
extern const char * spell_info(const struct spell * sp, const struct locale * lang);
|
||||||
extern const char * spell_name(const struct spell * sp, const struct locale * lang);
|
extern const char * spell_name(const struct spell * sp, const struct locale * lang);
|
||||||
|
|
||||||
|
|
|
@ -1064,7 +1064,7 @@ fix_astral_firewalls(void)
|
||||||
{
|
{
|
||||||
region * r;
|
region * r;
|
||||||
for (r = regions; r; r=r->next) {
|
for (r = regions; r; r=r->next) {
|
||||||
if (r->planep==astral_plane && r->terrain==T_FIREWALL) {
|
if (r->planep==get_astralplane() && r->terrain==T_FIREWALL) {
|
||||||
terraform(r, T_ASTRALB);
|
terraform(r, T_ASTRALB);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue