mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 12:49:18 +02:00
re-enabled cargo mesh loading; minor brake fixes; increased use of glew and stl containers
This commit is contained in:
@@ -378,7 +378,7 @@ bool TBrake::SetBDF(int nBDF)
|
||||
|
||||
void TBrake::Releaser(int state)
|
||||
{
|
||||
BrakeStatus = (BrakeStatus & 247) || state * b_rls;
|
||||
BrakeStatus = (BrakeStatus & 247) | ( state * b_rls );
|
||||
}
|
||||
|
||||
void TBrake::SetEPS(double nEPS)
|
||||
@@ -387,7 +387,7 @@ void TBrake::SetEPS(double nEPS)
|
||||
|
||||
void TBrake::ASB(int state)
|
||||
{ // 255-b_asb(32)
|
||||
BrakeStatus = (BrakeStatus & 223) || state * b_asb;
|
||||
BrakeStatus = (BrakeStatus & 223) | ( state * b_asb );
|
||||
}
|
||||
|
||||
int TBrake::GetStatus()
|
||||
|
||||
Reference in New Issue
Block a user