forked from github/server
wyrms don't make room for upstart newcomers.
This commit is contained in:
parent
83b2feffa6
commit
4660c690a8
|
@ -848,6 +848,10 @@ plan_dragon(unit * u)
|
|||
unit * u2;
|
||||
for (u2=r->units;u2;u2=u2->next) {
|
||||
/* wyrme sind einzelgänger */
|
||||
if (u2==u) {
|
||||
/* we do not make room for newcomers, so we don't need to look at them */
|
||||
break;
|
||||
}
|
||||
if (u2!=u && u2->race==u->race && chance(0.5)) {
|
||||
move = true;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue