Fixed that save was not asked for after flood fill.

This commit is contained in:
Kristoffer Erlandsson 2004-04-28 00:11:16 +00:00
parent 43b9bae97e
commit 8fb4d76b1d

View file

@ -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)