mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-09-01 23:19:21 +02:00
control for alerter, doors, vehicle lights. support for multiple logs. fixes for relaytype 45, 46
This commit is contained in:
@@ -62,7 +62,7 @@ inline double Sign(double x)
|
||||
return x >= 0 ? 1.0 : -1.0;
|
||||
}
|
||||
|
||||
inline long Round(float f)
|
||||
inline long Round(double const f)
|
||||
{
|
||||
return (long)(f + 0.5);
|
||||
//return lround(f);
|
||||
|
||||
Reference in New Issue
Block a user