mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-19 02:56:01 +01:00
Merge pull request #280 from MaSzyna-EU07/feat/radio-fuse
Radio fuse: a cut-off in the radio's power supply (eu07/maszyna#438)
This commit is contained in:
@@ -7278,7 +7278,8 @@ void TDynamicObject::RadioStop()
|
||||
if( Mechanik ) {
|
||||
// o ile ktoś go prowadzi
|
||||
if( MoverParameters->SecuritySystem.radiostop_available()
|
||||
&& MoverParameters->Radio ) {
|
||||
&& MoverParameters->Radio
|
||||
&& MoverParameters->RadioFuse ) {
|
||||
// jeśli pojazd ma RadioStop i jest on aktywny
|
||||
// HACK cast until math types unification
|
||||
glm::dvec3 pos = static_cast<glm::dvec3>(vPosition);
|
||||
|
||||
Reference in New Issue
Block a user