allow all kind of gfx formats for healthbar textures

This commit is contained in:
titiger 2014-11-10 21:55:30 +01:00
parent d21f7bd976
commit b85f9794e0
1 changed files with 2 additions and 2 deletions

View File

@ -429,7 +429,7 @@ Texture2D *CoreData::getGameWinnerTexture() {
Texture2D *CoreData::getHealthbarTexture() {
string data_path = getDataPath();
loadTextureIfRequired(&healthbarTexture,data_path,
CORE_MISC_TEXTURES_PATH + "healthbar.png", tsyst_healthbarTexture,
CORE_MISC_TEXTURES_PATH + "healthbar.*", tsyst_healthbarTexture,
true, false, false, true);
return healthbarTexture;
@ -438,7 +438,7 @@ Texture2D *CoreData::getHealthbarTexture() {
Texture2D *CoreData::getHealthbarBackgroundTexture() {
string data_path = getDataPath();
loadTextureIfRequired(&healthbarBackgroundTexture,data_path,
CORE_MISC_TEXTURES_PATH + "healthbarBackground.png", tsyst_healthbarBackgroundTexture,
CORE_MISC_TEXTURES_PATH + "healthbarBackground.*", tsyst_healthbarBackgroundTexture,
true, false, false, true);
return healthbarBackgroundTexture;