Initial support for rail custom bridge heads
This commit is contained in:
@@ -246,7 +246,7 @@ protected: // These functions should not be called outside acceleration code.
|
||||
inline byte GetAirDragArea() const
|
||||
{
|
||||
/* Air drag is higher in tunnels due to the limited cross-section. */
|
||||
return (this->track == TRACK_BIT_WORMHOLE && this->vehstatus & VS_HIDDEN) ? 28 : 14;
|
||||
return (this->track & TRACK_BIT_WORMHOLE && this->vehstatus & VS_HIDDEN) ? 28 : 14;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user