mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-16 18:31:32 +00:00
Fixed bug #16151: Discover new units on recruit.
Sometimes this has a problem of discovering new units too early, but those problems already exist with advance_unit, so a more generic solution is needed to fix those
This commit is contained in:
parent
3101f0e726
commit
c66447d116
@ -14,6 +14,7 @@ Version 1.9.8+svn:
|
||||
* Fixed Naga Sentinel gaining an AMLA after 32 XP instead of the usual 150.
|
||||
* Gave to Desert Shydes and Desert Stars 30% defense on void terrain.
|
||||
* Engine:
|
||||
* Fixed bug #16151: Discover new units on recruit
|
||||
* Fixed bug #17780: Allow objects to 'increase' damage to 0
|
||||
* Fixed bug #18098: now recruits and recalls capture village if recruited or
|
||||
recalled on village castle hex.
|
||||
|
@ -604,6 +604,8 @@ void place_recruit(const unit &u, const map_location &recruit_location,
|
||||
if (resources::game_map->is_village(recruit_location)) {
|
||||
get_village(recruit_location,new_unit_itor->side());
|
||||
}
|
||||
preferences::encountered_units().insert(new_unit_itor->type_id());
|
||||
|
||||
}
|
||||
|
||||
unit_map::iterator leader = resources::units->begin();
|
||||
|
Loading…
x
Reference in New Issue
Block a user