mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
maintenance: minor code tweaks
This commit is contained in:
@@ -2298,6 +2298,8 @@ void TDynamicObject::LoadExchange( int const Disembark, int const Embark, int co
|
||||
}
|
||||
}
|
||||
*/
|
||||
if( Platform == 0 ) { return; } // edge case, if there's no accessible platforms discard the request
|
||||
|
||||
m_exchange.unload_count += Disembark;
|
||||
m_exchange.load_count += Embark;
|
||||
m_exchange.platforms = Platform;
|
||||
|
||||
Reference in New Issue
Block a user