16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 00:49:19 +02:00

show file in scenery scanner errors

This commit is contained in:
milek7
2020-03-29 21:56:36 +02:00
parent cefd741d04
commit 078cbdb71b

View File

@@ -137,10 +137,10 @@ void scenery_scanner::parse_trainset(cParser &parser)
break;
}
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 {
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();