16
0
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:
tmj-fstate
2017-01-26 04:57:41 +01:00
parent d6015c13dc
commit c3fab994ae
13 changed files with 244 additions and 237 deletions

View File

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