Fixed that save was not asked for after flood fill.
This commit is contained in:
parent
43b9bae97e
commit
8fb4d76b1d
1 changed files with 1 additions and 0 deletions
|
@ -354,6 +354,7 @@ void map_editor::edit_flood_fill() {
|
|||
std::vector<gamemap::location> to_invalidate;
|
||||
for (terrain_log::iterator it = log.begin(); it != log.end(); it++) {
|
||||
to_invalidate.push_back((*it).first);
|
||||
num_operations_since_save_++;
|
||||
undo_stack_.push_back(map_undo_action((*it).second, palette_.selected_terrain(),
|
||||
(*it).first));
|
||||
if(undo_stack_.size() > undo_limit)
|
||||
|
|
Loading…
Add table
Reference in a new issue