Fixed support for default.png in the common mode for reloadable media.

This commit is contained in:
Pieter Hulshoff 2017-12-06 11:40:10 +01:00
parent 430480cdb4
commit aafa2e1009
2 changed files with 7 additions and 2 deletions

View File

@ -211,7 +211,12 @@ void ReloadableMedia::reloadTexture()
std::string typeLC = Utils::toLower(type_);
bool defined = false;
if(typeLC == "numberbuttons")
if(basename == "default")
{
basename = "default";
defined = true;
}
else if(typeLC == "numberbuttons")
{
basename = selectedItem->numberButtons;
defined = true;

View File

@ -21,7 +21,7 @@
std::string retrofe_version_major = "0";
std::string retrofe_version_minor = "8";
std::string retrofe_version_build = "14b1";
std::string retrofe_version_build = "14";
std::string Version::getString( )