1
0
forked from 0ad/0ad

Fix selection of loading screen textures with pre-converted texture cache

This was SVN commit r8305.
This commit is contained in:
Ykkrosh 2010-10-07 19:56:13 +00:00
parent 8dda4db8d8
commit 5eedb07297

View File

@ -21,6 +21,7 @@ function init(data)
// Get a random index from the list of loading screen backgrounds.
sprite = "stretched:" + loadingBkgArray[getRandom (0, loadingBkgArray.length-1)];
sprite = sprite.replace ("art/textures/ui/", "");
sprite = sprite.replace (".cached.dds", ""); // cope with pre-cached textures
}
getGUIObjectByName ("ldConcept").sprite = sprite;