Sanding works only when direction is set

This commit is contained in:
Królik Uszasty
2020-10-10 11:33:00 +02:00
committed by tmj-fstate
parent 26b077653d
commit 5e95d3ee50

View File

@@ -2714,7 +2714,7 @@ bool TMoverParameters::Sandbox( bool const State, range_t const Notify )
if( SandDose != State ) {
if( SandDose == false ) {
// switch on
if( Sand > 0 ) {
if(( Sand > 0 ) && ( DirActive != 0 )) {
SandDose = true;
result = true;
}