diff options
-rw-r--r-- | src/gui/ministatuswindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/ministatuswindow.cpp b/src/gui/ministatuswindow.cpp index fac8b35f..a2fa3ae7 100644 --- a/src/gui/ministatuswindow.cpp +++ b/src/gui/ministatuswindow.cpp @@ -50,6 +50,7 @@ MiniStatusWindow::MiniStatusWindow(): Popup("MiniStatus") { listen(Event::AttributesChannel); + listen(Event::ActorSpriteChannel); mHpBar = new ProgressBar(0, 100, 20, Theme::PROG_HP); StatusWindow::updateHPBar(mHpBar); @@ -108,12 +109,12 @@ void MiniStatusWindow::eraseIcon(int index) void MiniStatusWindow::drawIcons(Graphics *graphics) { // Draw icons - int icon_x = mXpBar->getX() + mXpBar->getWidth() + 4; + int icon_x = mXpBar->getX() + mXpBar->getWidth() + 14; for (unsigned int i = 0; i < mIcons.size(); i++) { if (mIcons[i]) { - mIcons[i]->draw(graphics, icon_x, 3); + mIcons[i]->draw(graphics, icon_x, 15); icon_x += 2 + mIcons[i]->getWidth(); } } |