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
|
@ -1172,7 +1172,7 @@ terminate(troop dt, troop at, int type, const char *damage, boolean missile)
|
|||
#ifdef TODO_RUNESWORD
|
||||
if (select_weapon(dt, 0, -1) == WP_RUNESWORD) continue;
|
||||
#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].defence--;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue