fixed bad scenario file

This commit is contained in:
Dave White 2004-08-27 01:38:11 +00:00
parent d2629b1e3d
commit 939380e1f7
2 changed files with 2 additions and 1 deletions

View file

@ -171,6 +171,7 @@ side=2
{UNDEAD 27 12}
{UNDEAD 28 12}
#endif
[/event]
[event]
name=die
[filter]

View file

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