mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 15:09:19 +02:00
show file in scenery scanner errors
This commit is contained in:
@@ -137,10 +137,10 @@ void scenery_scanner::parse_trainset(cParser &parser)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!found && skinfile != "none")
|
if (!found && skinfile != "none")
|
||||||
ErrorLog("skin not found: " + skinfile + ", vehicle type: " + vehicle_path.string(), logtype::file);
|
ErrorLog("skin not found: " + skinfile + ", vehicle type: " + vehicle_path.string() + ", file: " + parser.Name(), logtype::file);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ErrorLog("vehicle type not found: " + vehicle_path.string(), logtype::file);
|
ErrorLog("vehicle type not found: " + vehicle_path.string() + ", file: " + parser.Name(), logtype::file);
|
||||||
}
|
}
|
||||||
|
|
||||||
parser.getTokens();
|
parser.getTokens();
|
||||||
|
|||||||
Reference in New Issue
Block a user