wyrms don't make room for upstart newcomers.

This commit is contained in:
Enno Rehling 2005-11-18 21:12:27 +00:00
parent 83b2feffa6
commit 4660c690a8
1 changed files with 4 additions and 0 deletions

View File

@ -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;