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:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

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 :
#2

Fixed in rev.8970