mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 14:49:19 +02:00
build 170825. tweaks and fixes to AI brake handling, scan table distance calculation fix
This commit is contained in:
11
Driver.h
11
Driver.h
@@ -397,12 +397,11 @@ public:
|
||||
int StationCount();
|
||||
int StationIndex();
|
||||
bool IsStop();
|
||||
bool Primary()
|
||||
{
|
||||
return this ? ((iDrivigFlags & movePrimary) != 0) : false;
|
||||
};
|
||||
int inline DrivigFlags()
|
||||
{
|
||||
inline
|
||||
bool Primary() const {
|
||||
return ( ( iDrivigFlags & movePrimary ) != 0 ); };
|
||||
inline
|
||||
int DrivigFlags() const {
|
||||
return iDrivigFlags;
|
||||
};
|
||||
void MoveTo(TDynamicObject *to);
|
||||
|
||||
Reference in New Issue
Block a user