From b85f9794e023c03e3b093301212ab7b861dd5d33 Mon Sep 17 00:00:00 2001 From: titiger Date: Mon, 10 Nov 2014 21:55:30 +0100 Subject: [PATCH] allow all kind of gfx formats for healthbar textures --- source/glest_game/global/core_data.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/glest_game/global/core_data.cpp b/source/glest_game/global/core_data.cpp index e0945aea..756c8bd2 100644 --- a/source/glest_game/global/core_data.cpp +++ b/source/glest_game/global/core_data.cpp @@ -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;