forked from github/server
Der Insekten-Fix
This commit is contained in:
parent
f80cc1c2d7
commit
88e61c08cf
1 changed files with 7 additions and 5 deletions
|
@ -1260,11 +1260,13 @@ travel(unit * u, region * next, int flucht, region_list ** routep)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_freezing(u)) {
|
if (old_race(u->race)==RC_INSECT) {
|
||||||
|
if (r_insectstalled(next) && is_freezing(u)) {
|
||||||
ADDMSG(&u->faction->msgs, msg_message("detectforbidden",
|
ADDMSG(&u->faction->msgs, msg_message("detectforbidden",
|
||||||
"unit region", u, next));
|
"unit region", u, next));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
add_regionlist(iroute, next);
|
add_regionlist(iroute, next);
|
||||||
iroute = &(*iroute)->next;
|
iroute = &(*iroute)->next;
|
||||||
m++;
|
m++;
|
||||||
|
|
Loading…
Reference in a new issue