fix [teleport] capturing villages with the wrong side (bug #11683)
This commit is contained in:
parent
c15369d9cc
commit
aa708545cf
2 changed files with 2 additions and 1 deletions
|
@ -32,6 +32,7 @@ Version 1.5.0+svn:
|
|||
pass parameters (ex: "alias hp=unit hitpoints", then use "hp 100")
|
||||
* WML engine:
|
||||
* titlescreen is now randomly loaded
|
||||
* fix [teleport] capturing villages with the wrong side (bug #11683)
|
||||
* miscellaneous and bug fixes:
|
||||
* fixed issues with campaign info in non-compressed saved games
|
||||
(bug #11386)
|
||||
|
|
|
@ -526,7 +526,7 @@ void event_handler::handle_event_command(const queued_event& event_info,
|
|||
units->add(up);
|
||||
unit_mutations++;
|
||||
if(game_map->is_village(vacant_dst)) {
|
||||
get_village(vacant_dst, *screen,*teams,side,*units);
|
||||
get_village(vacant_dst, *screen,*teams,side-1,*units);
|
||||
}
|
||||
|
||||
if(utils::string_bool(cfg["clear_shroud"],true)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue