fixed bad scenario file
This commit is contained in:
parent
d2629b1e3d
commit
939380e1f7
2 changed files with 2 additions and 1 deletions
|
@ -171,6 +171,7 @@ side=2
|
|||
{UNDEAD 27 12}
|
||||
{UNDEAD 28 12}
|
||||
#endif
|
||||
[/event]
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
|
|
|
@ -1818,7 +1818,7 @@ bool unit_can_move(const gamemap::location& loc, const unit_map& units,
|
|||
if(map.on_board(locs[n])) {
|
||||
const unit_map::const_iterator i = units.find(locs[n]);
|
||||
if(i != units.end()) {
|
||||
if(current_team.is_enemy(i->second.side())) {
|
||||
if(i->second.incapacitated() == false && current_team.is_enemy(i->second.side())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue