Fix the "Delay transition update" option of the editor

(directly update the map when setting it off, don't wait a draw operation)
Also fix the "Update transition" (was not working, which is more annoying).
It was still usable but less handy to switch between 2 modes (builded or not)
This commit is contained in:
Ali El Gariani 2008-03-05 02:37:45 +00:00
parent cf72d395ae
commit 58c9472193

View file

@ -1617,10 +1617,10 @@ void map_editor::main_loop() {
if (auto_update_) {
gui_.rebuild_all();
gui_.invalidate_all();
map_dirty_ = false;
}
gui_.recalculate_minimap();
recalculate_starting_pos_labels();
map_dirty_ = false;
}
}
if (l_button_palette_dirty_) {