mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
allow uppercase in generated textures specification
This commit is contained in:
@@ -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 ))
|
||||
|
||||
Reference in New Issue
Block a user