Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
display object uses a const unit_map * internally
This was made possible because const units may now be drawn and animated. There are some clients of the display object that still call display::get_units, which is a non const getter, and which we support by a const cast. The next step of refactor is to get rid of that, but in this step we have at least gotten rid of all internal uses of the non-const unit map.
- Loading branch information