Skip to content

Commit

Permalink
Delegate large enemy edits to the large_ instance.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Frantz committed Nov 29, 2019
1 parent ef09d18 commit d9c1afd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions imwidget/map_command.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1009,6 +1009,10 @@ MapEnemyList::DrawResult MapEnemyList::DrawOnePopup(Unpacked* item,
}

bool MapEnemyList::DrawPopup(float scale) {
if (large_ && large_->display_) {
return large_->DrawPopup(scale);
}

bool changed = false;
int i=0;
for(auto it=data().begin(); it<data().end(); ++it, ++i) {
Expand Down

0 comments on commit d9c1afd

Please sign in to comment.