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

Language:
English Edit question
Status:
Solved
For:
Stratagus Edit question
Assignee:
No assignee Edit question
Last query:
2015-02-16
Last reply:
2015-03-04
Launchpad Janitor (janitor) said : #1

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

cybermind (iddqd-mail) said : #2

Fixed in rev.8970