1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Get menu background image from selected game

This commit is contained in:
Perttu Ahola 2013-02-15 21:13:53 +02:00
parent b28734c82c
commit 084be3599a
7 changed files with 172 additions and 136 deletions

View file

@ -77,7 +77,7 @@ static bool replace_ext(std::string &path, const char *ext)
If failed, return "".
*/
static std::string getImagePath(std::string path)
std::string getImagePath(std::string path)
{
// A NULL-ended list of possible image extensions
const char *extensions[] = {