allow uppercase in generated textures specification

This commit is contained in:
milek7
2022-04-01 19:30:21 +02:00
parent fba7d98f2d
commit d0255f8871
2 changed files with 3 additions and 2 deletions

View File

@@ -278,8 +278,8 @@ TAnimModel::is_keyword( std::string const &Token ) const {
bool TAnimModel::Load(cParser *parser, bool ter)
{ // rozpoznanie wpisu modelu i ustawienie świateł
std::string name = ToLower(parser->getToken<std::string>());
std::string texture = ToLower(parser->getToken<std::string>());
std::string name = parser->getToken<std::string>();
std::string texture = parser->getToken<std::string>(false);
replace_slashes( name );
replace_slashes( texture );
if (!Init( name, texture ))