- bugfix for loading textures for gpl and startup model pics
This commit is contained in:
parent
02fa995ce3
commit
4ba68576aa
|
@ -439,6 +439,7 @@ void CoreData::loadLogoTextureExtraIfRequired() {
|
|||
getGameCustomCoreDataPath(data_path, "") +
|
||||
CORE_MENU_TEXTURES_PATH + logo, tsyst_NONE,
|
||||
true, false, true);
|
||||
logoTextureList.push_back(logoTextureExtra);
|
||||
}
|
||||
}
|
||||
if (logoTextureList.empty() == true) {
|
||||
|
@ -455,6 +456,7 @@ void CoreData::loadLogoTextureExtraIfRequired() {
|
|||
loadTextureIfRequired(&logoTextureExtra,data_path,
|
||||
data_path + CORE_MENU_TEXTURES_PATH + logo, tsyst_NONE,
|
||||
true, false, true);
|
||||
logoTextureList.push_back(logoTextureExtra);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -490,7 +492,7 @@ void CoreData::loadMiscTextureListIfRequired() {
|
|||
getGameCustomCoreDataPath(data_path, "") + CORE_MENU_TEXTURES_PATH +
|
||||
logo, tsyst_NONE,
|
||||
true, false, true);
|
||||
|
||||
miscTextureList.push_back(logoTextureExtra);
|
||||
}
|
||||
if (miscTextureList.empty() == true) {
|
||||
introPath = data_path + CORE_MENU_TEXTURES_PATH + "intro*.*";
|
||||
|
@ -503,6 +505,7 @@ void CoreData::loadMiscTextureListIfRequired() {
|
|||
loadTextureIfRequired(&logoTextureExtra,data_path,
|
||||
data_path + CORE_MENU_TEXTURES_PATH + logo, tsyst_NONE,
|
||||
true, false, true);
|
||||
miscTextureList.push_back(logoTextureExtra);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -113,7 +113,6 @@ public:
|
|||
enum TextureSystemType {
|
||||
tsyst_NONE,
|
||||
tsyst_logoTexture,
|
||||
//std::vector<Texture2D *> logoTextureList;
|
||||
tsyst_backgroundTexture,
|
||||
tsyst_fireTexture,
|
||||
tsyst_teamColorTexture,
|
||||
|
@ -136,7 +135,6 @@ public:
|
|||
tsyst_statusBRBTexture,
|
||||
|
||||
tsyst_COUNT
|
||||
//std::vector<Texture2D *> miscTextureList;
|
||||
};
|
||||
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue