mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 04:19:19 +02:00
fixed recognition of train stops.
This commit is contained in:
@@ -316,7 +316,7 @@ void TEvent::Load(cParser *parser, vector3 *org)
|
||||
if (token.substr(0, 19) == "PassengerStopPoint:")
|
||||
{
|
||||
if (token.find('#') != std::string::npos)
|
||||
token = token.substr(0, token.find('#') - 1); // obcięcie unikatowości
|
||||
token.erase(token.find('#')); // obcięcie unikatowości
|
||||
bEnabled = false; // nie do kolejki (dla SetVelocity też, ale jak jest do toru
|
||||
// dowiązany)
|
||||
Params[6].asCommand = cm_PassengerStopPoint;
|
||||
|
||||
Reference in New Issue
Block a user