Fixed food and score icons
This commit is contained in:
parent
8c7767cc4b
commit
b3e277d1c1
1 changed files with 1 additions and 10 deletions
|
@ -215,7 +215,7 @@ global void LoadUserInterface(void)
|
||||||
TheUI.Resource.Graphic = LoadGraphic(TheUI.Resource.File);
|
TheUI.Resource.Graphic = LoadGraphic(TheUI.Resource.File);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < MaxCosts; ++i) {
|
for (i = 0; i <= ScoreCost; ++i) {
|
||||||
// FIXME: reuse same graphics?
|
// FIXME: reuse same graphics?
|
||||||
if (TheUI.Resources[i].Icon.File) {
|
if (TheUI.Resources[i].Icon.File) {
|
||||||
TheUI.Resources[i].Icon.Graphic =
|
TheUI.Resources[i].Icon.Graphic =
|
||||||
|
@ -224,15 +224,6 @@ global void LoadUserInterface(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: reuse same graphics?
|
|
||||||
if (TheUI.Resources[FoodCost].Icon.File) {
|
|
||||||
TheUI.Resources[FoodCost].Icon.Graphic = LoadGraphic(TheUI.Resources[FoodCost].Icon.File);
|
|
||||||
}
|
|
||||||
// FIXME: reuse same graphics?
|
|
||||||
if (TheUI.Resources[ScoreCost].Icon.File) {
|
|
||||||
TheUI.Resources[ScoreCost].Icon.Graphic = LoadGraphic(TheUI.Resources[ScoreCost].Icon.File);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (TheUI.InfoPanel.File) {
|
if (TheUI.InfoPanel.File) {
|
||||||
TheUI.InfoPanel.Graphic = LoadGraphic(TheUI.InfoPanel.File);
|
TheUI.InfoPanel.Graphic = LoadGraphic(TheUI.InfoPanel.File);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue