Mana Icon Frame in DrawCosts()

Asked by Andre Novellino GouvĂȘa on 2015-02-16

I propose changing the code in CStatusLine::DrawCosts() to make the reference to the mana icon frame not be hardcoded, changing line 110 from this:

UI.Resources[ManaResCost].G->DrawFrameClip(3, x, UI.StatusLine.TextY);

... to this:

UI.Resources[ManaResCost].G->DrawFrameClip(UI.Resources[ManaResCost].IconFrame, x, UI.StatusLine.TextY);

Question information

English Edit question
Stratagus Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
cybermind (iddqd-mail) said :

Fixed in rev.8970