16
0
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:
tmj-fstate
2017-08-25 21:06:43 +02:00
parent 42aab52038
commit 110bdf63bb
5 changed files with 138 additions and 163 deletions

View File

@@ -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);