- Vector<int> frameOffset;
- if (active) {
- activeFrame->Draw(screen, position, width, height);
- frameOffset = Vector<int>(activeFrame->BorderWidth(), activeFrame->BorderHeight());
- } else {
- frame->Draw(screen, position, width, height);
- frameOffset = Vector<int>(frame->BorderWidth(), frame->BorderHeight());
- }
+ const Frame *frame(active ? res->activeHeroTagFrame : res->heroTagFrame);
+ Vector<int> frameOffset(frame->BorderWidth(), frame->BorderHeight());
+ Vector<int> alignOffset(align == LEFT ? 4 * res->heroTagFont->CharWidth() : 0, 0);
+ frame->Draw(screen, position, width, height);