forked from github/server
Einheiten Kämpfen nicht aktiv - Fehler in dazzle, erlaubt es eine Einheit mehrfach zu dazzlen.
This commit is contained in:
parent
d042e89542
commit
e74b1c2267
1 changed files with 1 additions and 1 deletions
|
@ -1172,7 +1172,7 @@ terminate(troop dt, troop at, int type, const char *damage, boolean missile)
|
||||||
#ifdef TODO_RUNESWORD
|
#ifdef TODO_RUNESWORD
|
||||||
if (select_weapon(dt, 0, -1) == WP_RUNESWORD) continue;
|
if (select_weapon(dt, 0, -1) == WP_RUNESWORD) continue;
|
||||||
#endif
|
#endif
|
||||||
if (!(df->person[dt.index].flags & FL_COURAGE)) {
|
if (!(df->person[dt.index].flags & (FL_COURAGE|FL_DAZZLED))) {
|
||||||
df->person[dt.index].flags |= FL_DAZZLED;
|
df->person[dt.index].flags |= FL_DAZZLED;
|
||||||
df->person[dt.index].defence--;
|
df->person[dt.index].defence--;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue