mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 21:29:18 +02:00
reformat: use auto on certain types
This commit is contained in:
@@ -279,8 +279,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 = parser->getToken<std::string>();
|
||||
std::string texture = parser->getToken<std::string>(false);
|
||||
auto name = parser->getToken<std::string>();
|
||||
auto texture = parser->getToken<std::string>(false);
|
||||
replace_slashes( name );
|
||||
replace_slashes( texture );
|
||||
if (!Init( name, texture ))
|
||||
|
||||
Reference in New Issue
Block a user