Fix bug where only reads first stale component image

This commit is contained in:
David Rose 2001-05-18 23:19:07 +00:00
parent 12875aa71b
commit 0a6c615acd
1 changed files with 4 additions and 3 deletions

View File

@ -531,9 +531,10 @@ update_image(bool redo_all) {
!_cleared_regions.empty();
Placements::iterator pi;
for (pi = _placements.begin();
pi != _placements.end() && !needs_update;
++pi) {
// We must continue to walk through all of the textures on the
// palette, even after we discover the palette requires an update,
// so we can determine which source images need to be recopied.
for (pi = _placements.begin(); pi != _placements.end(); ++pi) {
TexturePlacement *placement = (*pi);
if (!placement->is_filled()) {