mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-13 19:40:30 +00:00
Fix bug #14160 (in not long-term-optimal way).
Fixes issues with LoW::7 gold carryover.
This commit is contained in:
parent
e4e448d0b4
commit
fa285e3c0e
@ -27,6 +27,8 @@ Version 1.7.5+svn:
|
||||
* Fix bug #13268 (corrupted replays due to undo of recall/dismiss)
|
||||
* Weapon name change for Drake Enforcer.
|
||||
* Fixed the unit tests from 'hanging'
|
||||
* Fix bug #14160 (carryover percentage in [endlevel] ignored
|
||||
when victory_when_enemies_defeated="yes")
|
||||
|
||||
Version 1.7.5:
|
||||
* Campaigns:
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
#include "playsingle_controller.hpp"
|
||||
|
||||
#include "actions.hpp"
|
||||
#include "ai/manager.hpp"
|
||||
#include "ai/game_info.hpp"
|
||||
#include "ai/testing.hpp"
|
||||
@ -145,6 +146,7 @@ void playsingle_controller::force_end_level(LEVEL_RESULT res,
|
||||
// Or should we merge them instead?
|
||||
return;
|
||||
}
|
||||
victory_conditions::set_victory_when_enemies_defeated(false);
|
||||
end_level_ = new end_level_exception(res, endlevel_music_list, percentage,
|
||||
add, bonus, report, prescenario_save, linger);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user