fix logic bug

This commit is contained in:
Steffen Mecke 2015-12-30 14:04:10 +01:00
parent 09836ed249
commit 1aca1c6a87
1 changed files with 1 additions and 1 deletions

View File

@ -677,7 +677,7 @@ static order *plan_dragon(unit * u)
} }
} }
if (move && (!ta | chance(0.1))) { if (move && (!ta || chance(0.1))) {
/* dragon gets bored and looks for a different place to go */ /* dragon gets bored and looks for a different place to go */
ta = set_new_dragon_target(u, u->region, DRAGON_RANGE); ta = set_new_dragon_target(u, u->region, DRAGON_RANGE);
} }